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