Enum IntresetenCtrlValue
#[repr(u8)]pub enum IntresetenCtrlValue {
Low = 0,
High = 1,
}Variants§
Implementations§
§impl IntresetenCtrlValue
impl IntresetenCtrlValue
pub const fn from_bits(val: u8) -> IntresetenCtrlValue
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for IntresetenCtrlValue
impl Clone for IntresetenCtrlValue
§fn clone(&self) -> IntresetenCtrlValue
fn clone(&self) -> IntresetenCtrlValue
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 IntresetenCtrlValue
§impl Debug for IntresetenCtrlValue
impl Debug for IntresetenCtrlValue
impl Eq for IntresetenCtrlValue
§impl From<u8> for IntresetenCtrlValue
impl From<u8> for IntresetenCtrlValue
§fn from(val: u8) -> IntresetenCtrlValue
fn from(val: u8) -> IntresetenCtrlValue
Converts to this type from the input type.
§impl Ord for IntresetenCtrlValue
impl Ord for IntresetenCtrlValue
§fn cmp(&self, other: &IntresetenCtrlValue) -> Ordering
fn cmp(&self, other: &IntresetenCtrlValue) -> 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 IntresetenCtrlValue
impl PartialEq for IntresetenCtrlValue
§impl PartialOrd for IntresetenCtrlValue
impl PartialOrd for IntresetenCtrlValue
impl StructuralPartialEq for IntresetenCtrlValue
Auto Trait Implementations§
impl Freeze for IntresetenCtrlValue
impl RefUnwindSafe for IntresetenCtrlValue
impl Send for IntresetenCtrlValue
impl Sync for IntresetenCtrlValue
impl Unpin for IntresetenCtrlValue
impl UnsafeUnpin for IntresetenCtrlValue
impl UnwindSafe for IntresetenCtrlValue
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