#[repr(u8)]pub enum ThresholdTraceEn {
THRESHOLD_TRACE_EN_0 = 0,
THRESHOLD_TRACE_EN_1 = 1,
}Variants§
THRESHOLD_TRACE_EN_0 = 0
Disable threshold trace function
THRESHOLD_TRACE_EN_1 = 1
Enable threshold trace function
Implementations§
Trait Implementations§
Source§impl Clone for ThresholdTraceEn
impl Clone for ThresholdTraceEn
Source§fn clone(&self) -> ThresholdTraceEn
fn clone(&self) -> ThresholdTraceEn
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 ThresholdTraceEn
impl Debug for ThresholdTraceEn
Source§impl From<ThresholdTraceEn> for u8
impl From<ThresholdTraceEn> for u8
Source§fn from(val: ThresholdTraceEn) -> u8
fn from(val: ThresholdTraceEn) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ThresholdTraceEn
impl From<u8> for ThresholdTraceEn
Source§fn from(val: u8) -> ThresholdTraceEn
fn from(val: u8) -> ThresholdTraceEn
Converts to this type from the input type.
Source§impl Ord for ThresholdTraceEn
impl Ord for ThresholdTraceEn
Source§fn cmp(&self, other: &ThresholdTraceEn) -> Ordering
fn cmp(&self, other: &ThresholdTraceEn) -> 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 ThresholdTraceEn
impl PartialEq for ThresholdTraceEn
Source§impl PartialOrd for ThresholdTraceEn
impl PartialOrd for ThresholdTraceEn
impl Copy for ThresholdTraceEn
impl Eq for ThresholdTraceEn
impl StructuralPartialEq for ThresholdTraceEn
Auto Trait Implementations§
impl Freeze for ThresholdTraceEn
impl RefUnwindSafe for ThresholdTraceEn
impl Send for ThresholdTraceEn
impl Sync for ThresholdTraceEn
impl Unpin for ThresholdTraceEn
impl UnwindSafe for ThresholdTraceEn
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