Struct rs_math3d::primitives::Dimension
source · #[repr(C)]pub struct Dimension<T: Scalar> {
pub width: T,
pub height: T,
}
Expand description
Rect
Fields§
§width: T
§height: T
Implementations§
Trait Implementations§
impl<T: Copy + Scalar> Copy for Dimension<T>
Auto Trait Implementations§
impl<T> Freeze for Dimension<T>where
T: Freeze,
impl<T> RefUnwindSafe for Dimension<T>where
T: RefUnwindSafe,
impl<T> Send for Dimension<T>where
T: Send,
impl<T> Sync for Dimension<T>where
T: Sync,
impl<T> Unpin for Dimension<T>where
T: Unpin,
impl<T> UnwindSafe for Dimension<T>where
T: UnwindSafe,
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