Enum graphicsmagick::types::OrientationType
source · #[repr(u32)]
pub enum OrientationType {
UndefinedOrientation,
TopLeftOrientation,
TopRightOrientation,
BottomRightOrientation,
BottomLeftOrientation,
LeftTopOrientation,
RightTopOrientation,
RightBottomOrientation,
LeftBottomOrientation,
Unknown,
}
Expand description
OrientationType specifies the orientation of the image. Useful for when the image is produced via a different ordinate system, the camera was turned on its side, or the page was scanned sideways.
http://www.graphicsmagick.org/api/types.html#orientationtype
Variants§
UndefinedOrientation
TopLeftOrientation
TopRightOrientation
BottomRightOrientation
BottomLeftOrientation
LeftTopOrientation
RightTopOrientation
RightBottomOrientation
LeftBottomOrientation
Unknown
Trait Implementations§
source§impl Clone for OrientationType
impl Clone for OrientationType
source§fn clone(&self) -> OrientationType
fn clone(&self) -> OrientationType
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 OrientationType
impl Debug for OrientationType
source§impl From<OrientationType> for u32
impl From<OrientationType> for u32
source§fn from(enum_value: OrientationType) -> Self
fn from(enum_value: OrientationType) -> Self
Converts to this type from the input type.
source§impl From<u32> for OrientationType
impl From<u32> for OrientationType
source§impl FromPrimitive for OrientationType
impl FromPrimitive for OrientationType
source§impl PartialEq<OrientationType> for OrientationType
impl PartialEq<OrientationType> for OrientationType
source§fn eq(&self, other: &OrientationType) -> bool
fn eq(&self, other: &OrientationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.