#[repr(u8)]pub enum TsPinCurrentValue {
Ua20 = 0,
Ua40 = 1,
Ua60 = 2,
Ua80 = 3,
}
Variants§
Ua20 = 0
20uA output current.
Ua40 = 1
40uA output current.
Ua60 = 2
60uA output current.
Ua80 = 3
80uA output current.
Trait Implementations§
Source§impl Clone for TsPinCurrentValue
impl Clone for TsPinCurrentValue
Source§fn clone(&self) -> TsPinCurrentValue
fn clone(&self) -> TsPinCurrentValue
Returns a duplicate 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 Debug for TsPinCurrentValue
impl Debug for TsPinCurrentValue
Source§impl From<TsPinCurrentValue> for u8
impl From<TsPinCurrentValue> for u8
Source§fn from(val: TsPinCurrentValue) -> Self
fn from(val: TsPinCurrentValue) -> Self
Converts to this type from the input type.
Source§impl Hash for TsPinCurrentValue
impl Hash for TsPinCurrentValue
Source§impl PartialEq for TsPinCurrentValue
impl PartialEq for TsPinCurrentValue
Source§impl TryFrom<u8> for TsPinCurrentValue
impl TryFrom<u8> for TsPinCurrentValue
impl Copy for TsPinCurrentValue
impl Eq for TsPinCurrentValue
impl StructuralPartialEq for TsPinCurrentValue
Auto Trait Implementations§
impl Freeze for TsPinCurrentValue
impl RefUnwindSafe for TsPinCurrentValue
impl Send for TsPinCurrentValue
impl Sync for TsPinCurrentValue
impl Unpin for TsPinCurrentValue
impl UnwindSafe for TsPinCurrentValue
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