pub enum OnOffStates {
Off = 0,
On = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for OnOffStates
impl Clone for OnOffStates
Source§fn clone(&self) -> OnOffStates
fn clone(&self) -> OnOffStates
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OnOffStates
impl Debug for OnOffStates
Source§impl PartialEq for OnOffStates
impl PartialEq for OnOffStates
Source§impl TryFrom<u8> for OnOffStates
impl TryFrom<u8> for OnOffStates
impl Copy for OnOffStates
impl StructuralPartialEq for OnOffStates
Auto Trait Implementations§
impl Freeze for OnOffStates
impl RefUnwindSafe for OnOffStates
impl Send for OnOffStates
impl Sync for OnOffStates
impl Unpin for OnOffStates
impl UnwindSafe for OnOffStates
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