#[repr(C, packed(1))]pub struct UsbClass {
pub header: DevicePathProtocol,
pub vendor_id: u16,
pub product_id: u16,
pub device_class: u8,
pub device_subclass: u8,
pub device_protocol: u8,
}Fields§
§header: DevicePathProtocol§vendor_id: u16§product_id: u16§device_class: u8§device_subclass: u8§device_protocol: u8Auto Trait Implementations§
impl Freeze for UsbClass
impl RefUnwindSafe for UsbClass
impl Send for UsbClass
impl Sync for UsbClass
impl Unpin for UsbClass
impl UnwindSafe for UsbClass
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