Enum StructureRotation
#[non_exhaustive]pub enum StructureRotation {
None,
Clockwise90,
Clockwise180,
Counterclockwise90,
}Expand description
Rotation of a template about its origin.
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.
None
No rotation.
Clockwise90
A clockwise quarter turn.
Clockwise180
A half turn.
Counterclockwise90
A counterclockwise quarter turn.
Trait Implementations§
§impl Clone for StructureRotation
impl Clone for StructureRotation
§fn clone(&self) -> StructureRotation
fn clone(&self) -> StructureRotation
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 moreimpl Copy for StructureRotation
§impl Debug for StructureRotation
impl Debug for StructureRotation
impl Eq for StructureRotation
§impl PartialEq for StructureRotation
impl PartialEq for StructureRotation
impl StructuralPartialEq for StructureRotation
Auto Trait Implementations§
impl Freeze for StructureRotation
impl RefUnwindSafe for StructureRotation
impl Send for StructureRotation
impl Sync for StructureRotation
impl Unpin for StructureRotation
impl UnsafeUnpin for StructureRotation
impl UnwindSafe for StructureRotation
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