mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
partial test complete
This commit is contained in:
@@ -280,6 +280,13 @@ impl Point {
|
||||
y: self.y.round(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn floor(self) -> Self {
|
||||
Self {
|
||||
x: self.x.floor(),
|
||||
y: self.y.floor()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl From<&(f32, f32)> for Point {
|
||||
|
||||
Reference in New Issue
Block a user