Enum rexiv2::Orientation
source · pub enum Orientation {
Unspecified,
Normal,
HorizontalFlip,
Rotate180,
VerticalFlip,
Rotate90HorizontalFlip,
Rotate90,
Rotate90VerticalFlip,
Rotate270,
}
Expand description
All the possible orientations for an image.
Variants§
Unspecified
Normal
HorizontalFlip
Rotate180
VerticalFlip
Rotate90HorizontalFlip
Rotate90
Rotate90VerticalFlip
Rotate270
Trait Implementations§
source§impl Clone for Orientation
impl Clone for Orientation
source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
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 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<Orientation> for Orientation
impl PartialEq<Orientation> for Orientation
source§fn eq(&self, other: &Orientation) -> bool
fn eq(&self, other: &Orientation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.