pub enum RotationMode {
Rotate90,
Rotate180,
Rotate270,
}
Available on crate feature
geometry
only.Expand description
Declares rotation mode, 90, 180, 270
Variants§
Trait Implementations§
Source§impl Clone for RotationMode
impl Clone for RotationMode
Source§fn clone(&self) -> RotationMode
fn clone(&self) -> RotationMode
Returns a duplicate 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 RotationMode
impl Debug for RotationMode
Source§impl Hash for RotationMode
impl Hash for RotationMode
Source§impl Ord for RotationMode
impl Ord for RotationMode
Source§fn cmp(&self, other: &RotationMode) -> Ordering
fn cmp(&self, other: &RotationMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RotationMode
impl PartialEq for RotationMode
Source§impl PartialOrd for RotationMode
impl PartialOrd for RotationMode
impl Copy for RotationMode
impl Eq for RotationMode
impl StructuralPartialEq for RotationMode
Auto Trait Implementations§
impl Freeze for RotationMode
impl RefUnwindSafe for RotationMode
impl Send for RotationMode
impl Sync for RotationMode
impl Unpin for RotationMode
impl UnwindSafe for RotationMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more