pub enum OnOff {
On,
Off,
Value(u8),
}
Expand description
On/Off argument type
Variants§
Trait Implementations§
impl Copy for OnOff
impl StructuralPartialEq for OnOff
Auto Trait Implementations§
impl Freeze for OnOff
impl RefUnwindSafe for OnOff
impl Send for OnOff
impl Sync for OnOff
impl Unpin for OnOff
impl UnwindSafe for OnOff
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