Enum ExtresetenCtrlValue
#[repr(u8)]pub enum ExtresetenCtrlValue {
LOW = 0,
HIGH = 1,
}
Variants§
Implementations§
§impl ExtresetenCtrlValue
impl ExtresetenCtrlValue
pub const fn from_bits(val: u8) -> ExtresetenCtrlValue
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for ExtresetenCtrlValue
impl Clone for ExtresetenCtrlValue
§fn clone(&self) -> ExtresetenCtrlValue
fn clone(&self) -> ExtresetenCtrlValue
Returns a copy 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 more§impl From<u8> for ExtresetenCtrlValue
impl From<u8> for ExtresetenCtrlValue
§fn from(val: u8) -> ExtresetenCtrlValue
fn from(val: u8) -> ExtresetenCtrlValue
Converts to this type from the input type.
§impl Ord for ExtresetenCtrlValue
impl Ord for ExtresetenCtrlValue
§fn cmp(&self, other: &ExtresetenCtrlValue) -> Ordering
fn cmp(&self, other: &ExtresetenCtrlValue) -> 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
§impl PartialEq for ExtresetenCtrlValue
impl PartialEq for ExtresetenCtrlValue
§impl PartialOrd for ExtresetenCtrlValue
impl PartialOrd for ExtresetenCtrlValue
impl Copy for ExtresetenCtrlValue
impl Eq for ExtresetenCtrlValue
impl StructuralPartialEq for ExtresetenCtrlValue
Auto Trait Implementations§
impl Freeze for ExtresetenCtrlValue
impl RefUnwindSafe for ExtresetenCtrlValue
impl Send for ExtresetenCtrlValue
impl Sync for ExtresetenCtrlValue
impl Unpin for ExtresetenCtrlValue
impl UnwindSafe for ExtresetenCtrlValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)