pub struct CameraMeta {
pub timestamp: Option<i64>,
pub camera: Option<String>,
pub iso: Option<u32>,
pub focal_length: Option<f64>,
pub shutter: Option<f64>,
pub aperture: Option<f64>,
}Expand description
Camera facts read from EXIF.
Fields§
§timestamp: Option<i64>Date taken, ms since the epoch, read as local time.
camera: Option<String>Make and model, as dcraw names them.
iso: Option<u32>§focal_length: Option<f64>Millimetres.
shutter: Option<f64>Seconds.
aperture: Option<f64>The f-number.
Implementations§
Trait Implementations§
Source§impl Clone for CameraMeta
impl Clone for CameraMeta
Source§fn clone(&self) -> CameraMeta
fn clone(&self) -> CameraMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CameraMeta
impl Debug for CameraMeta
Source§impl Default for CameraMeta
impl Default for CameraMeta
Source§fn default() -> CameraMeta
fn default() -> CameraMeta
Returns the “default value” for a type. Read more
Source§impl PartialEq for CameraMeta
impl PartialEq for CameraMeta
impl StructuralPartialEq for CameraMeta
Auto Trait Implementations§
impl Freeze for CameraMeta
impl RefUnwindSafe for CameraMeta
impl Send for CameraMeta
impl Sync for CameraMeta
impl Unpin for CameraMeta
impl UnsafeUnpin for CameraMeta
impl UnwindSafe for CameraMeta
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().