pub enum ImageOrientation {
Up,
UpMirrored,
Down,
DownMirrored,
LeftMirrored,
Right,
RightMirrored,
Left,
}Expand description
Represents a VisionKit image orientation.
Variants§
Up
Matches the VisionKit Up orientation case.
UpMirrored
Matches the VisionKit UpMirrored orientation case.
Down
Matches the VisionKit Down orientation case.
DownMirrored
Matches the VisionKit DownMirrored orientation case.
LeftMirrored
Matches the VisionKit LeftMirrored orientation case.
Right
Matches the VisionKit Right orientation case.
RightMirrored
Matches the VisionKit RightMirrored orientation case.
Left
Matches the VisionKit Left orientation case.
Implementations§
Trait Implementations§
Source§impl Clone for ImageOrientation
impl Clone for ImageOrientation
Source§fn clone(&self) -> ImageOrientation
fn clone(&self) -> ImageOrientation
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 ImageOrientation
impl Debug for ImageOrientation
Source§impl Default for ImageOrientation
impl Default for ImageOrientation
Source§fn default() -> ImageOrientation
fn default() -> ImageOrientation
Returns the “default value” for a type. Read more
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
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 UnsafeUnpin 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