Struct avrox_display::gfx::Point
source · pub struct Point(pub XCoord, pub YCoord);
Expand description
An (X,Y) coordinate pair.
Tuple Fields§
§0: XCoord
§1: YCoord
Trait Implementations§
source§impl PartialEq for Point
impl PartialEq for Point
impl Copy for Point
impl Eq for Point
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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
source§impl<X> DisplayAs<X> for Xwhere
X: Clone,
impl<X> DisplayAs<X> for Xwhere
X: Clone,
fn display_value(&self) -> X
source§fn is_mutable(&self) -> bool
fn is_mutable(&self) -> bool
True if this value is mutable (i.e. can change underneath us :-).)