pub enum PatternType {
NoChange = 0,
Grid = 1,
Line = 2,
Cloud = 3,
}Expand description
Pattern type for grid experiments.
Variants§
NoChange = 0
No change to current pattern
Grid = 1
Grid pattern
Line = 2
Line pattern
Cloud = 3
Cloud pattern
Trait Implementations§
Source§impl Clone for PatternType
impl Clone for PatternType
Source§fn clone(&self) -> PatternType
fn clone(&self) -> PatternType
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 PatternType
impl Debug for PatternType
Source§impl Default for PatternType
impl Default for PatternType
Source§fn default() -> PatternType
fn default() -> PatternType
Returns the “default value” for a type. Read more
Source§impl From<PatternType> for u16
impl From<PatternType> for u16
Source§fn from(p: PatternType) -> Self
fn from(p: PatternType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PatternType
impl PartialEq for PatternType
impl Copy for PatternType
impl Eq for PatternType
impl StructuralPartialEq for PatternType
Auto Trait Implementations§
impl Freeze for PatternType
impl RefUnwindSafe for PatternType
impl Send for PatternType
impl Sync for PatternType
impl Unpin for PatternType
impl UnwindSafe for PatternType
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