#[repr(u16)]pub enum UsbRev {
Usb200 = 512,
Usb210 = 528,
}
Expand description
Usb spec revision.
Variants§
Usb200 = 512
USB 2.0 compliance
Usb210 = 528
USB 2.1 compliance.
Typically adds support for BOS requests.
Trait Implementations§
Source§impl Ord for UsbRev
impl Ord for UsbRev
Source§impl PartialOrd for UsbRev
impl PartialOrd for UsbRev
impl Copy for UsbRev
impl Eq for UsbRev
impl StructuralPartialEq for UsbRev
Auto Trait Implementations§
impl Freeze for UsbRev
impl RefUnwindSafe for UsbRev
impl Send for UsbRev
impl Sync for UsbRev
impl Unpin for UsbRev
impl UnwindSafe for UsbRev
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