#[repr(u8)]pub enum MaxCurrentOption {
Current25MA5 = 0,
Current35MA = 1,
}Variants§
Trait Implementations§
Source§impl Clone for MaxCurrentOption
impl Clone for MaxCurrentOption
Source§fn clone(&self) -> MaxCurrentOption
fn clone(&self) -> MaxCurrentOption
Returns a duplicate 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 MaxCurrentOption
impl Debug for MaxCurrentOption
Source§impl From<MaxCurrentOption> for u8
impl From<MaxCurrentOption> for u8
Source§fn from(val: MaxCurrentOption) -> Self
fn from(val: MaxCurrentOption) -> Self
Converts to this type from the input type.
Source§impl Hash for MaxCurrentOption
impl Hash for MaxCurrentOption
Source§impl PartialEq for MaxCurrentOption
impl PartialEq for MaxCurrentOption
Source§impl TryFrom<u8> for MaxCurrentOption
impl TryFrom<u8> for MaxCurrentOption
impl Copy for MaxCurrentOption
impl Eq for MaxCurrentOption
impl StructuralPartialEq for MaxCurrentOption
Auto Trait Implementations§
impl Freeze for MaxCurrentOption
impl RefUnwindSafe for MaxCurrentOption
impl Send for MaxCurrentOption
impl Sync for MaxCurrentOption
impl Unpin for MaxCurrentOption
impl UnwindSafe for MaxCurrentOption
Blanket Implementations§
§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, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)