#[repr(C, packed(1))]pub struct usb_pd_cap_provider_port_descriptor {
pub bLength: __u8,
pub bDescriptorType: __u8,
pub bDevCapabilityType: __u8,
pub bReserved1: __u8,
pub bmCapabilities: __u8,
pub bNumOfPDObjects: __u8,
pub bReserved2: __u8,
pub wPowerDataObject: __IncompleteArrayField<__le32>,
}Fields§
§bLength: __u8§bDescriptorType: __u8§bDevCapabilityType: __u8§bReserved1: __u8§bmCapabilities: __u8§bNumOfPDObjects: __u8§bReserved2: __u8§wPowerDataObject: __IncompleteArrayField<__le32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for usb_pd_cap_provider_port_descriptor
impl RefUnwindSafe for usb_pd_cap_provider_port_descriptor
impl Send for usb_pd_cap_provider_port_descriptor
impl Sync for usb_pd_cap_provider_port_descriptor
impl Unpin for usb_pd_cap_provider_port_descriptor
impl UnwindSafe for usb_pd_cap_provider_port_descriptor
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