Enum image::jpeg::PixelDensityUnit[][src]

pub enum PixelDensityUnit {
    PixelAspectRatio,
    Inches,
    Centimeters,
}

Represents a unit in which the density of an image is measured

Variants

PixelAspectRatio

Represents the absence of a unit, the values indicate only a pixel aspect ratio

Inches

Pixels per inch (2.54 cm)

Centimeters

Pixels per centimeter

Trait Implementations

impl Clone for PixelDensityUnit[src]

impl Debug for PixelDensityUnit[src]

impl PartialEq<PixelDensityUnit> for PixelDensityUnit[src]

impl Copy for PixelDensityUnit[src]

impl Eq for PixelDensityUnit[src]

impl StructuralEq for PixelDensityUnit[src]

impl StructuralPartialEq for PixelDensityUnit[src]

Auto Trait Implementations

impl RefUnwindSafe for PixelDensityUnit

impl Send for PixelDensityUnit

impl Sync for PixelDensityUnit

impl Unpin for PixelDensityUnit

impl UnwindSafe for PixelDensityUnit

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.