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 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 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 · 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 Copy for IntresetenCtrlValue
impl Eq 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 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
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
)