pub struct GridPoint {
pub x: i32,
pub y: i32,
}Fields§
§x: i32§y: i32Trait Implementations§
Source§impl<'de> Deserialize<'de> for GridPoint
impl<'de> Deserialize<'de> for GridPoint
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 TryFrom<RawGridPoint> for GridPoint
impl TryFrom<RawGridPoint> for GridPoint
Source§type Error = OutOfExtent
type Error = OutOfExtent
The type returned in the event of a conversion error.
impl Copy for GridPoint
impl Eq for GridPoint
impl StructuralPartialEq for GridPoint
Auto Trait Implementations§
impl Freeze for GridPoint
impl RefUnwindSafe for GridPoint
impl Send for GridPoint
impl Sync for GridPoint
impl Unpin for GridPoint
impl UnsafeUnpin for GridPoint
impl UnwindSafe for GridPoint
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