#[repr(u8)]pub enum ChrgDetected {
SDP_DETECT = 0,
CHRG_PORT_DETECT = 1,
}Variants§
Implementations§
Source§impl ChrgDetected
impl ChrgDetected
Trait Implementations§
Source§impl Clone for ChrgDetected
impl Clone for ChrgDetected
Source§fn clone(&self) -> ChrgDetected
fn clone(&self) -> ChrgDetected
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 ChrgDetected
impl Debug for ChrgDetected
Source§impl From<ChrgDetected> for u8
impl From<ChrgDetected> for u8
Source§fn from(val: ChrgDetected) -> u8
fn from(val: ChrgDetected) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ChrgDetected
impl From<u8> for ChrgDetected
Source§fn from(val: u8) -> ChrgDetected
fn from(val: u8) -> ChrgDetected
Converts to this type from the input type.
Source§impl Ord for ChrgDetected
impl Ord for ChrgDetected
Source§fn cmp(&self, other: &ChrgDetected) -> Ordering
fn cmp(&self, other: &ChrgDetected) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChrgDetected
impl PartialEq for ChrgDetected
Source§impl PartialOrd for ChrgDetected
impl PartialOrd for ChrgDetected
impl Copy for ChrgDetected
impl Eq for ChrgDetected
impl StructuralPartialEq for ChrgDetected
Auto Trait Implementations§
impl Freeze for ChrgDetected
impl RefUnwindSafe for ChrgDetected
impl Send for ChrgDetected
impl Sync for ChrgDetected
impl Unpin for ChrgDetected
impl UnwindSafe for ChrgDetected
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