#[repr(u8)]pub enum BypassEnable {
NORMAL_MODE = 0,
BYPASS_MODE = 1,
}Variants§
Implementations§
Source§impl BypassEnable
impl BypassEnable
Trait Implementations§
Source§impl Clone for BypassEnable
impl Clone for BypassEnable
Source§fn clone(&self) -> BypassEnable
fn clone(&self) -> BypassEnable
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 BypassEnable
impl Debug for BypassEnable
Source§impl From<BypassEnable> for u8
impl From<BypassEnable> for u8
Source§fn from(val: BypassEnable) -> u8
fn from(val: BypassEnable) -> u8
Converts to this type from the input type.
Source§impl From<u8> for BypassEnable
impl From<u8> for BypassEnable
Source§fn from(val: u8) -> BypassEnable
fn from(val: u8) -> BypassEnable
Converts to this type from the input type.
Source§impl Ord for BypassEnable
impl Ord for BypassEnable
Source§fn cmp(&self, other: &BypassEnable) -> Ordering
fn cmp(&self, other: &BypassEnable) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BypassEnable
impl PartialEq for BypassEnable
Source§impl PartialOrd for BypassEnable
impl PartialOrd for BypassEnable
impl Copy for BypassEnable
impl Eq for BypassEnable
impl StructuralPartialEq for BypassEnable
Auto Trait Implementations§
impl Freeze for BypassEnable
impl RefUnwindSafe for BypassEnable
impl Send for BypassEnable
impl Sync for BypassEnable
impl Unpin for BypassEnable
impl UnwindSafe for BypassEnable
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