pub enum LampMode {
Off,
On,
Wink,
Flash,
Blink,
Hold,
Ring,
Custom1,
Custom2,
Unknown(u32),
}Expand description
Visual state selected for a station lamp.
Variants§
Off
On
Wink
Flash
Blink
Hold
Ring
Custom1
Custom2
Unknown(u32)
Preserves an SCCP numeric value not recognized by this crate. Allows newer or vendor-specific values to round-trip without loss.
Implementations§
Trait Implementations§
impl Copy for LampMode
impl Eq for LampMode
impl StructuralPartialEq for LampMode
Auto Trait Implementations§
impl Freeze for LampMode
impl RefUnwindSafe for LampMode
impl Send for LampMode
impl Sync for LampMode
impl Unpin for LampMode
impl UnsafeUnpin for LampMode
impl UnwindSafe for LampMode
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