Enum libheif_rs::ImageOrientation
source · #[repr(C)]pub enum ImageOrientation {
Normal = 1,
FlipHorizontally = 2,
Rotate180 = 3,
FlipVertically = 4,
Rotate90CwThenFlipHorizontally = 5,
Rotate90Cw = 6,
Rotate90CwThenFlipVertically = 7,
Rotate270Cw = 8,
Unknown = 9,
}
Variants§
Normal = 1
FlipHorizontally = 2
Rotate180 = 3
FlipVertically = 4
Rotate90CwThenFlipHorizontally = 5
Rotate90Cw = 6
Rotate90CwThenFlipVertically = 7
Rotate270Cw = 8
Unknown = 9
This value is used when library libheif
returns unknown value of image orientation.
Implementations§
Trait Implementations§
source§impl Clone for ImageOrientation
impl Clone for ImageOrientation
source§fn clone(&self) -> ImageOrientation
fn clone(&self) -> ImageOrientation
Returns a copy of the value. Read more
1.0.0 · 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 ImageOrientation
impl Debug for ImageOrientation
source§impl Hash for ImageOrientation
impl Hash for ImageOrientation
source§impl PartialEq for ImageOrientation
impl PartialEq for ImageOrientation
source§fn eq(&self, other: &ImageOrientation) -> bool
fn eq(&self, other: &ImageOrientation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImageOrientation
impl Eq for ImageOrientation
impl StructuralPartialEq for ImageOrientation
Auto Trait Implementations§
impl Freeze for ImageOrientation
impl RefUnwindSafe for ImageOrientation
impl Send for ImageOrientation
impl Sync for ImageOrientation
impl Unpin for ImageOrientation
impl UnwindSafe for ImageOrientation
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