#[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: u32Horizontal component.
height: u32Vertical 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
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