pub struct Coord {
pub x: i32,
pub y: i32,
}Fields§
§x: i32§y: i32Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Coord
impl<'de> Deserialize<'de> for Coord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Coord
impl Ord for Coord
Source§impl PartialOrd for Coord
impl PartialOrd for Coord
impl Copy for Coord
impl Eq for Coord
Auto Trait Implementations§
impl Freeze for Coord
impl RefUnwindSafe for Coord
impl Send for Coord
impl Sync for Coord
impl Unpin for Coord
impl UnwindSafe for Coord
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