pub struct PhysicalSizeWrapper<T>(pub PhysicalSize<T>);
Tuple Fields§
§0: PhysicalSize<T>
Trait Implementations§
Source§impl<T> From<PhysicalSize<T>> for PhysicalSizeWrapper<T>
impl<T> From<PhysicalSize<T>> for PhysicalSizeWrapper<T>
Source§fn from(size: PhysicalSize<T>) -> Self
fn from(size: PhysicalSize<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<PhysicalSizeWrapper<T>> for PhysicalSize<T>
impl<T> From<PhysicalSizeWrapper<T>> for PhysicalSize<T>
Source§fn from(size: PhysicalSizeWrapper<T>) -> Self
fn from(size: PhysicalSizeWrapper<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for PhysicalSizeWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for PhysicalSizeWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for PhysicalSizeWrapper<T>where
T: Send,
impl<T> Sync for PhysicalSizeWrapper<T>where
T: Sync,
impl<T> Unpin for PhysicalSizeWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for PhysicalSizeWrapper<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