#[repr(u8)]pub enum Orientation {
Unspecified = 0,
Normal = 1,
FlipHorizontal = 2,
Rotate180 = 3,
FlipVertical = 4,
Transpose = 5,
Rotate90 = 6,
Transverse = 7,
Rotate270 = 8,
}Expand description
Exif image orientation in encoded-pixel coordinates.
Variants§
Unspecified = 0
No orientation tag was found.
Normal = 1
Top-left origin; no transform.
FlipHorizontal = 2
Mirror left-to-right.
Rotate180 = 3
Rotate 180 degrees.
FlipVertical = 4
Mirror top-to-bottom.
Transpose = 5
Reflect across the top-left to bottom-right diagonal.
Rotate90 = 6
Rotate 90 degrees clockwise.
Transverse = 7
Reflect across the top-right to bottom-left diagonal.
Rotate270 = 8
Rotate 270 degrees clockwise.
Trait Implementations§
Source§impl Clone for Orientation
impl Clone for Orientation
Source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
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 Orientation
impl Debug for Orientation
Source§impl Default for Orientation
impl Default for Orientation
Source§fn default() -> Orientation
fn default() -> Orientation
Returns the “default value” for a type. Read more
Source§impl Hash for Orientation
impl Hash for Orientation
Source§impl PartialEq for Orientation
impl PartialEq for Orientation
Source§fn eq(&self, other: &Orientation) -> bool
fn eq(&self, other: &Orientation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Orientation
impl Eq for Orientation
impl StructuralPartialEq for Orientation
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnsafeUnpin for Orientation
impl UnwindSafe for Orientation
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,
§impl<T> Pointable for T
impl<T> Pointable for T
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().