#[repr(u8)]pub enum Usb1VbusDetectClrEnChargerResistor {
EN_CHARGER_RESISTOR_0 = 0,
EN_CHARGER_RESISTOR_1 = 1,
}Variants§
EN_CHARGER_RESISTOR_0 = 0
Disable resistive charger detection resistors on USB_DP and USB_DP
EN_CHARGER_RESISTOR_1 = 1
Enable resistive charger detection resistors on USB_DP and USB_DP
Implementations§
Trait Implementations§
Source§impl Clone for Usb1VbusDetectClrEnChargerResistor
impl Clone for Usb1VbusDetectClrEnChargerResistor
Source§fn clone(&self) -> Usb1VbusDetectClrEnChargerResistor
fn clone(&self) -> Usb1VbusDetectClrEnChargerResistor
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<Usb1VbusDetectClrEnChargerResistor> for u8
impl From<Usb1VbusDetectClrEnChargerResistor> for u8
Source§fn from(val: Usb1VbusDetectClrEnChargerResistor) -> u8
fn from(val: Usb1VbusDetectClrEnChargerResistor) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1VbusDetectClrEnChargerResistor
impl From<u8> for Usb1VbusDetectClrEnChargerResistor
Source§fn from(val: u8) -> Usb1VbusDetectClrEnChargerResistor
fn from(val: u8) -> Usb1VbusDetectClrEnChargerResistor
Converts to this type from the input type.
Source§impl Ord for Usb1VbusDetectClrEnChargerResistor
impl Ord for Usb1VbusDetectClrEnChargerResistor
Source§fn cmp(&self, other: &Usb1VbusDetectClrEnChargerResistor) -> Ordering
fn cmp(&self, other: &Usb1VbusDetectClrEnChargerResistor) -> 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 Usb1VbusDetectClrEnChargerResistor
impl PartialEq for Usb1VbusDetectClrEnChargerResistor
Source§fn eq(&self, other: &Usb1VbusDetectClrEnChargerResistor) -> bool
fn eq(&self, other: &Usb1VbusDetectClrEnChargerResistor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Usb1VbusDetectClrEnChargerResistor
impl PartialOrd for Usb1VbusDetectClrEnChargerResistor
impl Copy for Usb1VbusDetectClrEnChargerResistor
impl Eq for Usb1VbusDetectClrEnChargerResistor
impl StructuralPartialEq for Usb1VbusDetectClrEnChargerResistor
Auto Trait Implementations§
impl Freeze for Usb1VbusDetectClrEnChargerResistor
impl RefUnwindSafe for Usb1VbusDetectClrEnChargerResistor
impl Send for Usb1VbusDetectClrEnChargerResistor
impl Sync for Usb1VbusDetectClrEnChargerResistor
impl Unpin for Usb1VbusDetectClrEnChargerResistor
impl UnwindSafe for Usb1VbusDetectClrEnChargerResistor
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