pub enum UsbCInputState {
NoPower = 0,
Powered = 1,
}Expand description
Is USB-C power detected?
Variants§
Trait Implementations§
Source§impl Debug for UsbCInputState
impl Debug for UsbCInputState
Auto Trait Implementations§
impl Freeze for UsbCInputState
impl RefUnwindSafe for UsbCInputState
impl Send for UsbCInputState
impl Sync for UsbCInputState
impl Unpin for UsbCInputState
impl UnsafeUnpin for UsbCInputState
impl UnwindSafe for UsbCInputState
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