pub enum VbusSourceSel {
Resistive = 1,
}Expand description
VBUS Monitoring Source Select
Value on reset: 0
Variants§
Resistive = 1
1: Resistive divider attached to a GPIO pin
Trait Implementations§
Source§impl Clone for VbusSourceSel
impl Clone for VbusSourceSel
Source§fn clone(&self) -> VbusSourceSel
fn clone(&self) -> VbusSourceSel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VbusSourceSel
Source§impl Debug for VbusSourceSel
impl Debug for VbusSourceSel
impl Eq for VbusSourceSel
Source§impl From<VbusSourceSel> for bool
impl From<VbusSourceSel> for bool
Source§fn from(variant: VbusSourceSel) -> Self
fn from(variant: VbusSourceSel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VbusSourceSel
impl PartialEq for VbusSourceSel
Source§fn eq(&self, other: &VbusSourceSel) -> bool
fn eq(&self, other: &VbusSourceSel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VbusSourceSel
Auto Trait Implementations§
impl Freeze for VbusSourceSel
impl RefUnwindSafe for VbusSourceSel
impl Send for VbusSourceSel
impl Sync for VbusSourceSel
impl Unpin for VbusSourceSel
impl UnsafeUnpin for VbusSourceSel
impl UnwindSafe for VbusSourceSel
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