pub struct Dims {
pub w: u32,
pub h: u32,
}Expand description
Width and height of a surface, in pixels.
Fields§
§w: u32§h: u32Implementations§
Trait Implementations§
impl Copy for Dims
impl Eq for Dims
impl StructuralPartialEq for Dims
Auto Trait Implementations§
impl Forget for Dims
impl Freeze for Dims
impl Move for Dims
impl RefUnwindSafe for Dims
impl Send for Dims
impl Sync for Dims
impl Unpin for Dims
impl UnsafeUnpin 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