pub enum AllowedRotation {
None,
Continuous,
Discrete(Vec<fsize>),
}
Variants§
None
No rotation is allowed
Continuous
Any rotation is allowed
Discrete(Vec<fsize>)
Only a limited set of rotations is allowed
Trait Implementations§
Source§impl Clone for AllowedRotation
impl Clone for AllowedRotation
Source§fn clone(&self) -> AllowedRotation
fn clone(&self) -> AllowedRotation
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 AllowedRotation
impl Debug for AllowedRotation
Source§impl PartialEq for AllowedRotation
impl PartialEq for AllowedRotation
impl StructuralPartialEq for AllowedRotation
Auto Trait Implementations§
impl Freeze for AllowedRotation
impl RefUnwindSafe for AllowedRotation
impl Send for AllowedRotation
impl Sync for AllowedRotation
impl Unpin for AllowedRotation
impl UnwindSafe for AllowedRotation
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