pub enum PatternDirection {
None,
ParallelToWidth,
ParallelToLength,
}Expand description
Indicates the linear direction of a pattern, grain, etc.
Variants§
None
No pattern
ParallelToWidth
Linear pattern that runs parallel to the width
ParallelToLength
Linear pattern that runs parallel to the length
Trait Implementations§
Source§impl Clone for PatternDirection
impl Clone for PatternDirection
Source§fn clone(&self) -> PatternDirection
fn clone(&self) -> PatternDirection
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 PatternDirection
impl Debug for PatternDirection
Source§impl Default for PatternDirection
impl Default for PatternDirection
Source§impl Hash for PatternDirection
impl Hash for PatternDirection
Source§impl PartialEq for PatternDirection
impl PartialEq for PatternDirection
impl Copy for PatternDirection
impl Eq for PatternDirection
impl StructuralPartialEq for PatternDirection
Auto Trait Implementations§
impl Freeze for PatternDirection
impl RefUnwindSafe for PatternDirection
impl Send for PatternDirection
impl Sync for PatternDirection
impl Unpin for PatternDirection
impl UnwindSafe for PatternDirection
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