#[non_exhaustive]pub enum ImageOrientation {
Flip,
FromImage,
Angle(Angle),
Raw(Raw),
}Expand description
A value of image-orientation.
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.
Flip
flip.
FromImage
from-image.
Angle(Angle)
An angle.
Raw(Raw)
Any other value, passed through unchecked.
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 Display for ImageOrientation
impl Display for ImageOrientation
Source§impl From<Angle> for ImageOrientation
impl From<Angle> for ImageOrientation
Source§impl From<Raw> for ImageOrientation
impl From<Raw> for ImageOrientation
Source§impl PartialEq for ImageOrientation
impl PartialEq 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