#[repr(u8)]pub enum ChargeEndCurrentThresholdValue {
Percent10 = 0,
Percent15 = 1,
}Variants§
Trait Implementations§
Source§impl Clone for ChargeEndCurrentThresholdValue
impl Clone for ChargeEndCurrentThresholdValue
Source§fn clone(&self) -> ChargeEndCurrentThresholdValue
fn clone(&self) -> ChargeEndCurrentThresholdValue
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 From<ChargeEndCurrentThresholdValue> for u8
impl From<ChargeEndCurrentThresholdValue> for u8
Source§fn from(val: ChargeEndCurrentThresholdValue) -> Self
fn from(val: ChargeEndCurrentThresholdValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChargeEndCurrentThresholdValue
impl PartialEq for ChargeEndCurrentThresholdValue
Source§fn eq(&self, other: &ChargeEndCurrentThresholdValue) -> bool
fn eq(&self, other: &ChargeEndCurrentThresholdValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u8> for ChargeEndCurrentThresholdValue
impl TryFrom<u8> for ChargeEndCurrentThresholdValue
impl Copy for ChargeEndCurrentThresholdValue
impl Eq for ChargeEndCurrentThresholdValue
impl StructuralPartialEq for ChargeEndCurrentThresholdValue
Auto Trait Implementations§
impl Freeze for ChargeEndCurrentThresholdValue
impl RefUnwindSafe for ChargeEndCurrentThresholdValue
impl Send for ChargeEndCurrentThresholdValue
impl Sync for ChargeEndCurrentThresholdValue
impl Unpin for ChargeEndCurrentThresholdValue
impl UnwindSafe for ChargeEndCurrentThresholdValue
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