pub struct PatternLine {
pub color: Color,
pub duration: Duration,
pub led: Led,
}Expand description
One line of the device’s stored colour pattern.
Fields§
§color: ColorColour to fade to.
duration: DurationHow long the fade takes.
led: LedWhich LED the line drives.
Trait Implementations§
Source§impl Clone for PatternLine
impl Clone for PatternLine
impl Copy for PatternLine
Source§impl Debug for PatternLine
impl Debug for PatternLine
impl Eq for PatternLine
Source§impl PartialEq for PatternLine
impl PartialEq for PatternLine
impl StructuralPartialEq for PatternLine
Auto Trait Implementations§
impl Freeze for PatternLine
impl RefUnwindSafe for PatternLine
impl Send for PatternLine
impl Sync for PatternLine
impl Unpin for PatternLine
impl UnsafeUnpin for PatternLine
impl UnwindSafe for PatternLine
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