pub enum UsbRole {
None = 0,
Host = 1,
Device = 2,
}Expand description
USB Role
Variants§
Trait Implementations§
impl Copy for UsbRole
impl Eq for UsbRole
impl StructuralPartialEq for UsbRole
Auto Trait Implementations§
impl Freeze for UsbRole
impl RefUnwindSafe for UsbRole
impl Send for UsbRole
impl Sync for UsbRole
impl Unpin for UsbRole
impl UnwindSafe for UsbRole
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