#[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<u32>,
}Fields§
§bLength: u8§bDescriptorType: u8§bDevCapabilityType: u8§bReserved1: u8§bmCapabilities: u8§bNumOfPDObjects: u8§bReserved2: u8§wPowerDataObject: __IncompleteArrayField<u32>Trait Implementations§
Source§impl Default for usb_pd_cap_provider_port_descriptor
impl Default for usb_pd_cap_provider_port_descriptor
Source§fn default() -> usb_pd_cap_provider_port_descriptor
fn default() -> usb_pd_cap_provider_port_descriptor
Returns the “default value” for a type. Read more
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more