#[repr(u8)]pub enum BatteryCurrentDirection {
Standby = 0,
Charge = 1,
Discharge = 2,
Reserved = 3,
}Variants§
Trait Implementations§
Source§impl Clone for BatteryCurrentDirection
impl Clone for BatteryCurrentDirection
Source§fn clone(&self) -> BatteryCurrentDirection
fn clone(&self) -> BatteryCurrentDirection
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 BatteryCurrentDirection
impl Debug for BatteryCurrentDirection
impl Copy for BatteryCurrentDirection
Auto Trait Implementations§
impl Freeze for BatteryCurrentDirection
impl RefUnwindSafe for BatteryCurrentDirection
impl Send for BatteryCurrentDirection
impl Sync for BatteryCurrentDirection
impl Unpin for BatteryCurrentDirection
impl UnwindSafe for BatteryCurrentDirection
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