#[repr(u8)]pub enum DensityUnit {
None = 0,
DotsPerInch = 1,
DotsPerCm = 2,
}Expand description
Pixel density unit for JFIF APP0 marker.
Variants§
None = 0
No units - X/Y specify pixel aspect ratio only
DotsPerInch = 1
Dots per inch
DotsPerCm = 2
Dots per centimeter
Trait Implementations§
Source§impl Clone for DensityUnit
impl Clone for DensityUnit
Source§fn clone(&self) -> DensityUnit
fn clone(&self) -> DensityUnit
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 moreSource§impl Debug for DensityUnit
impl Debug for DensityUnit
Source§impl Default for DensityUnit
impl Default for DensityUnit
Source§fn default() -> DensityUnit
fn default() -> DensityUnit
Returns the “default value” for a type. Read more
Source§impl PartialEq for DensityUnit
impl PartialEq for DensityUnit
impl Copy for DensityUnit
impl Eq for DensityUnit
impl StructuralPartialEq for DensityUnit
Auto Trait Implementations§
impl Freeze for DensityUnit
impl RefUnwindSafe for DensityUnit
impl Send for DensityUnit
impl Sync for DensityUnit
impl Unpin for DensityUnit
impl UnwindSafe for DensityUnit
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