pub struct Coords {
pub x: i32,
pub y: i32,
}
Expand description
Map coordinates
Fields§
§x: i32
§y: i32
Implementations§
Trait Implementations§
Source§impl EoSerialize for Coords
impl EoSerialize for Coords
impl Copy for Coords
impl Eq for Coords
impl StructuralPartialEq for Coords
Auto Trait Implementations§
impl Freeze for Coords
impl RefUnwindSafe for Coords
impl Send for Coords
impl Sync for Coords
impl Unpin for Coords
impl UnwindSafe for Coords
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