pub enum Pattern {
Rgb,
Border,
Rows,
Gradient,
White,
}Expand description
Built-in patterns, for checking wiring and colour order without any media.
Variants§
Rgb
Vertical red, green and blue bands: confirms colour order.
Border
A one-pixel white border with coloured corners: confirms geometry.
Rows
Horizontal red/green/blue stripes: confirms row mapping.
Gradient
A two-axis gradient.
White
Solid white: maximum current draw, useful for power checks.
Trait Implementations§
impl Copy for Pattern
impl Eq for Pattern
impl StructuralPartialEq for Pattern
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnsafeUnpin for Pattern
impl UnwindSafe for Pattern
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