#[repr(C)]pub struct Point2u {
pub x: u32,
pub y: u32,
}Expand description
Mathematical point on the 2D (x, y) plane.
Fields§
§x: u32Horizontal component
y: u32Vertical component
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Point2u
impl<'de> Deserialize<'de> for Point2u
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
impl Copy for Point2u
impl Eq for Point2u
impl StructuralPartialEq for Point2u
Auto Trait Implementations§
impl Freeze for Point2u
impl RefUnwindSafe for Point2u
impl Send for Point2u
impl Sync for Point2u
impl Unpin for Point2u
impl UnwindSafe for Point2u
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