#[repr(u8)]pub enum VbusValid {
VBUS_VALID_0 = 0,
VBUS_VALID_1 = 1,
}Variants§
VBUS_VALID_0 = 0
VBUS is below the comparator threshold
VBUS_VALID_1 = 1
VBUS is above the comparator threshold
Implementations§
Trait Implementations§
Source§impl Ord for VbusValid
impl Ord for VbusValid
Source§impl PartialOrd for VbusValid
impl PartialOrd for VbusValid
impl Copy for VbusValid
impl Eq for VbusValid
impl StructuralPartialEq for VbusValid
Auto Trait Implementations§
impl Freeze for VbusValid
impl RefUnwindSafe for VbusValid
impl Send for VbusValid
impl Sync for VbusValid
impl Unpin for VbusValid
impl UnwindSafe for VbusValid
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