[][src]Struct ucare::file::ImageInfo

pub struct ImageInfo {
    pub color_mode: Option<ColorMode>,
    pub orientation: Option<i32>,
    pub format: Option<String>,
    pub sequence: Option<bool>,
    pub height: Option<i32>,
    pub width: Option<i32>,
    pub geo_location: Option<ImageInfoGeoLocation>,
    pub datetime_original: Option<String>,
    pub dpi: Option<Vec<f32>>,
}

ImageInfo holds image-specific information

Fields

color_mode: Option<ColorMode>

Image color mode.

orientation: Option<i32>

Image orientation from EXIF.

format: Option<String>

Image format.

sequence: Option<bool>

Image sequence

height: Option<i32>

Image height in pixels.

width: Option<i32>

Image width in pixels.

geo_location: Option<ImageInfoGeoLocation>

Image geo location.

datetime_original: Option<String>

Image date and time from EXIF.

dpi: Option<Vec<f32>>

Image DPI for two dimensions.

Trait Implementations

impl Debug for ImageInfo[src]

impl<'de> Deserialize<'de> for ImageInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.