pub enum PixelDensityUnit {
PixelAspectRatio = 0,
Inches = 1,
Centimeters = 2,
}Variants§
Trait Implementations§
Source§impl Clone for PixelDensityUnit
impl Clone for PixelDensityUnit
Source§fn clone(&self) -> PixelDensityUnit
fn clone(&self) -> PixelDensityUnit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PixelDensityUnit
Auto Trait Implementations§
impl Freeze for PixelDensityUnit
impl RefUnwindSafe for PixelDensityUnit
impl Send for PixelDensityUnit
impl Sync for PixelDensityUnit
impl Unpin for PixelDensityUnit
impl UnsafeUnpin for PixelDensityUnit
impl UnwindSafe for PixelDensityUnit
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