pub struct Dims {
pub width: u32,
pub height: u32,
}
Expand description
Simple dimensions struct
Fields§
§width: u32
§height: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dims
impl RefUnwindSafe for Dims
impl Send for Dims
impl Sync for Dims
impl Unpin for Dims
impl UnwindSafe for Dims
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