#[repr(C)]pub struct Sizeu {
pub width: u32,
pub height: u32,
}
Expand description
Stores an ordered pair of unsigned integer values, typically the width and height of a rectangle.
Fields§
§width: u32
Horizontal component.
height: u32
Vertical component.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sizeu
impl<'de> Deserialize<'de> for Sizeu
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 From<D2D_SIZE_U> for Sizeu
impl From<D2D_SIZE_U> for Sizeu
Source§fn from(point: D2D_SIZE_U) -> Sizeu
fn from(point: D2D_SIZE_U) -> Sizeu
Converts to this type from the input type.
Source§impl From<Sizeu> for D2D_SIZE_U
impl From<Sizeu> for D2D_SIZE_U
Source§fn from(point: Sizeu) -> D2D_SIZE_U
fn from(point: Sizeu) -> D2D_SIZE_U
Converts to this type from the input type.
impl Copy for Sizeu
impl Eq for Sizeu
impl StructuralPartialEq for Sizeu
Auto Trait Implementations§
impl Freeze for Sizeu
impl RefUnwindSafe for Sizeu
impl Send for Sizeu
impl Sync for Sizeu
impl Unpin for Sizeu
impl UnwindSafe for Sizeu
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