Enum NidenCtrlValue
#[repr(u8)]pub enum NidenCtrlValue {
Low = 0,
High = 1,
}Variants§
Low = 0
Signal is logic 0, indicating that non-invasive debug is disabled.
High = 1
Signal is logic 1, indicating that non-invasive debug is enabled.
Implementations§
§impl NidenCtrlValue
impl NidenCtrlValue
pub const fn from_bits(val: u8) -> NidenCtrlValue
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for NidenCtrlValue
impl Clone for NidenCtrlValue
§fn clone(&self) -> NidenCtrlValue
fn clone(&self) -> NidenCtrlValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NidenCtrlValue
§impl Debug for NidenCtrlValue
impl Debug for NidenCtrlValue
impl Eq for NidenCtrlValue
§impl From<u8> for NidenCtrlValue
impl From<u8> for NidenCtrlValue
§fn from(val: u8) -> NidenCtrlValue
fn from(val: u8) -> NidenCtrlValue
Converts to this type from the input type.
§impl Ord for NidenCtrlValue
impl Ord for NidenCtrlValue
§fn cmp(&self, other: &NidenCtrlValue) -> Ordering
fn cmp(&self, other: &NidenCtrlValue) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for NidenCtrlValue
impl PartialEq for NidenCtrlValue
§impl PartialOrd for NidenCtrlValue
impl PartialOrd for NidenCtrlValue
impl StructuralPartialEq for NidenCtrlValue
Auto Trait Implementations§
impl Freeze for NidenCtrlValue
impl RefUnwindSafe for NidenCtrlValue
impl Send for NidenCtrlValue
impl Sync for NidenCtrlValue
impl Unpin for NidenCtrlValue
impl UnsafeUnpin for NidenCtrlValue
impl UnwindSafe for NidenCtrlValue
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