pub struct UnitPoint { /* private fields */ }Expand description
A representation of a point relative to a unit rectangle.
Implementations
sourceimpl UnitPoint
impl UnitPoint
sourcepub const BOTTOM_LEFT: UnitPoint = _
pub const BOTTOM_LEFT: UnitPoint = _
(0.0, 1.0)
sourcepub const BOTTOM_RIGHT: UnitPoint = _
pub const BOTTOM_RIGHT: UnitPoint = _
(1.0, 1.0)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnitPoint
impl Send for UnitPoint
impl Sync for UnitPoint
impl Unpin for UnitPoint
impl UnwindSafe for UnitPoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more