diff options
author | rabite <rabite@posteo.de> | 2019-02-04 18:51:07 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-02-04 23:06:59 +0100 |
commit | 9cd395d8f77134b6c041739a8f89d3d18a3f6a7e (patch) | |
tree | 17205b52fbe51cfc0e9cf26da3904a324da77035 /src/coordinates.rs | |
parent | 1b95fb704f4a1d4674776df638a1a2158144580d (diff) |
prototype async previews
Diffstat (limited to 'src/coordinates.rs')
-rw-r--r-- | src/coordinates.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/coordinates.rs b/src/coordinates.rs index 6b79823..56cfe40 100644 --- a/src/coordinates.rs +++ b/src/coordinates.rs @@ -17,9 +17,9 @@ impl Coordinates { } } - // pub fn size(&self) -> &Size { - // &self.size - // } + pub fn size(&self) -> &Size { + &self.size + } pub fn xsize(&self) -> u16 { self.size.xsize() @@ -59,7 +59,7 @@ impl Position { pub fn x(&self) -> u16 { (self.0).1 } - // pub fn y(&self) -> u16 { - // (self.0).1 - // } + pub fn y(&self) -> u16 { + (self.0).1 + } } |