#[non_exhaustive]pub enum OffsetRotate {
Auto,
Reverse,
Angle(Angle),
Raw(Raw),
}Expand description
A value of offset-rotate.
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.
Auto
auto.
Reverse
reverse.
Angle(Angle)
An angle.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for OffsetRotate
impl Clone for OffsetRotate
Source§fn clone(&self) -> OffsetRotate
fn clone(&self) -> OffsetRotate
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 moreSource§impl Debug for OffsetRotate
impl Debug for OffsetRotate
Source§impl Display for OffsetRotate
impl Display for OffsetRotate
Source§impl From<Angle> for OffsetRotate
impl From<Angle> for OffsetRotate
Source§impl From<Raw> for OffsetRotate
impl From<Raw> for OffsetRotate
Source§impl PartialEq for OffsetRotate
impl PartialEq for OffsetRotate
impl StructuralPartialEq for OffsetRotate
Auto Trait Implementations§
impl Freeze for OffsetRotate
impl RefUnwindSafe for OffsetRotate
impl Send for OffsetRotate
impl Sync for OffsetRotate
impl Unpin for OffsetRotate
impl UnsafeUnpin for OffsetRotate
impl UnwindSafe for OffsetRotate
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