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