pub struct Size<Unit> {
pub width: Unit,
pub height: Unit,
}
Expand description
Generic size
Fields
width: Unit
height: Unit
Trait Implementations
impl<Unit: Copy> Copy for Size<Unit>
Auto Trait Implementations
impl<Unit> RefUnwindSafe for Size<Unit> where
Unit: RefUnwindSafe,
impl<Unit> Send for Size<Unit> where
Unit: Send,
impl<Unit> Sync for Size<Unit> where
Unit: Sync,
impl<Unit> Unpin for Size<Unit> where
Unit: Unpin,
impl<Unit> UnwindSafe for Size<Unit> where
Unit: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more