pub struct MapScale { /* private fields */ }Implementations§
Source§impl MapScale
impl MapScale
pub const fn new(ratio: ScaleRatio) -> Self
pub const fn ratio(self) -> ScaleRatio
Trait Implementations§
Source§impl Ord for MapScale
impl Ord for MapScale
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for MapScale
impl PartialOrd for MapScale
impl Copy for MapScale
impl Eq for MapScale
impl StructuralPartialEq for MapScale
Auto Trait Implementations§
impl Freeze for MapScale
impl RefUnwindSafe for MapScale
impl Send for MapScale
impl Sync for MapScale
impl Unpin for MapScale
impl UnsafeUnpin for MapScale
impl UnwindSafe for MapScale
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more