#[non_exhaustive]pub struct ExposureInfo {
pub iso: Option<u32>,
pub exposure_time: Option<f64>,
pub f_number: Option<f32>,
pub focal_length: Option<f32>,
pub focal_length_35mm: Option<u32>,
pub exposure_bias: Option<f32>,
pub flash: Option<u16>,
pub metering_mode: Option<u16>,
pub exposure_program: Option<u16>,
}Expand description
Exposure / capture parameters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.iso: Option<u32>ISO speed.
exposure_time: Option<f64>Exposure time in seconds.
f_number: Option<f32>Aperture as an f-number (e.g. 2.8).
focal_length: Option<f32>Focal length in mm.
focal_length_35mm: Option<u32>35 mm-equivalent focal length in mm (EXIF FocalLengthIn35mmFilm).
exposure_bias: Option<f32>Exposure compensation in EV.
flash: Option<u16>EXIF Flash tag value (bit field; bit 0 set when the flash fired).
metering_mode: Option<u16>EXIF MeteringMode tag value.
exposure_program: Option<u16>EXIF ExposureProgram tag value.
Trait Implementations§
Source§impl Clone for ExposureInfo
impl Clone for ExposureInfo
Source§impl Debug for ExposureInfo
impl Debug for ExposureInfo
Source§impl Default for ExposureInfo
impl Default for ExposureInfo
Source§impl PartialEq for ExposureInfo
impl PartialEq for ExposureInfo
impl StructuralPartialEq for ExposureInfo
Auto Trait Implementations§
impl Freeze for ExposureInfo
impl RefUnwindSafe for ExposureInfo
impl Send for ExposureInfo
impl Sync for ExposureInfo
impl Unpin for ExposureInfo
impl UnsafeUnpin for ExposureInfo
impl UnwindSafe for ExposureInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more