#[non_exhaustive]pub enum OrientationSource {
Exif,
MakerNote,
CameraProfileOverride,
Default,
}Expand description
Which record the resolved orientation was taken from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exif
The standard TIFF/EXIF Orientation tag (or the container’s own standard
orientation field for non-TIFF containers).
MakerNote
A vendor record: MakerNote, vendor edit data or the camera’s embedded JPEG.
CameraProfileOverride
A fixed per-camera rule (e.g. a sensor that is mounted rotated in the body).
Default
Nothing usable was recorded; the image is shown as stored.
Implementations§
Trait Implementations§
Source§impl Clone for OrientationSource
impl Clone for OrientationSource
impl Copy for OrientationSource
Source§impl Debug for OrientationSource
impl Debug for OrientationSource
Source§impl Default for OrientationSource
impl Default for OrientationSource
impl Eq for OrientationSource
Source§impl Hash for OrientationSource
impl Hash for OrientationSource
Source§impl PartialEq for OrientationSource
impl PartialEq for OrientationSource
impl StructuralPartialEq for OrientationSource
Auto Trait Implementations§
impl Freeze for OrientationSource
impl RefUnwindSafe for OrientationSource
impl Send for OrientationSource
impl Sync for OrientationSource
impl Unpin for OrientationSource
impl UnsafeUnpin for OrientationSource
impl UnwindSafe for OrientationSource
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