pub enum DriveStrength {
_5mA = 0,
_10mA = 1,
_20mA = 2,
_40mA = 3,
}
Expand description
Drive strength (values are approximates)
Variants§
_5mA = 0
Drive strength of approximately 5mA.
_10mA = 1
Drive strength of approximately 10mA.
_20mA = 2
Drive strength of approximately 20mA.
_40mA = 3
Drive strength of approximately 40mA.
Trait Implementations§
Source§impl Clone for DriveStrength
impl Clone for DriveStrength
Source§fn clone(&self) -> DriveStrength
fn clone(&self) -> DriveStrength
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DriveStrength
impl Debug for DriveStrength
Source§impl Format for DriveStrength
impl Format for DriveStrength
Source§impl Hash for DriveStrength
impl Hash for DriveStrength
Source§impl Ord for DriveStrength
impl Ord for DriveStrength
Source§impl PartialEq for DriveStrength
impl PartialEq for DriveStrength
Source§impl PartialOrd for DriveStrength
impl PartialOrd for DriveStrength
Source§fn partial_cmp(&self, other: &DriveStrength) -> Option<Ordering>
fn partial_cmp(&self, other: &DriveStrength) -> Option<Ordering>
impl Copy for DriveStrength
impl Eq for DriveStrength
impl StructuralPartialEq for DriveStrength
Auto Trait Implementations§
impl Freeze for DriveStrength
impl RefUnwindSafe for DriveStrength
impl Send for DriveStrength
impl Sync for DriveStrength
impl Unpin for DriveStrength
impl UnwindSafe for DriveStrength
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)