pub enum OnOff {
On,
Off,
}Variants§
Trait Implementations§
Source§impl Ord for OnOff
impl Ord for OnOff
Source§impl PartialOrd for OnOff
impl PartialOrd for OnOff
Source§impl ToCommand for OnOff
impl ToCommand for OnOff
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl Eq 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