pub enum BinaryState {
On,
Off,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BinaryState
impl Clone for BinaryState
Source§fn clone(&self) -> BinaryState
fn clone(&self) -> BinaryState
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 BinaryState
impl Debug for BinaryState
Source§impl Display for BinaryState
impl Display for BinaryState
Source§impl FromStr for BinaryState
impl FromStr for BinaryState
Source§impl PartialEq for BinaryState
impl PartialEq for BinaryState
Source§impl TryFrom<&[u8]> for BinaryState
impl TryFrom<&[u8]> for BinaryState
impl Copy for BinaryState
impl Eq for BinaryState
impl StructuralPartialEq for BinaryState
Auto Trait Implementations§
impl Freeze for BinaryState
impl RefUnwindSafe for BinaryState
impl Send for BinaryState
impl Sync for BinaryState
impl Unpin for BinaryState
impl UnwindSafe for BinaryState
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