pub enum DimensionUnit<'a> {
Inch,
Mm,
Pixel,
Pica,
Point,
Custom(&'a str),
}
Expand description
The unit of a physical dimension.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DimensionUnit<'a>
impl<'a> RefUnwindSafe for DimensionUnit<'a>
impl<'a> Send for DimensionUnit<'a>
impl<'a> Sync for DimensionUnit<'a>
impl<'a> Unpin for DimensionUnit<'a>
impl<'a> UnwindSafe for DimensionUnit<'a>
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