#[repr(C, packed(1))]pub struct usb_plat_dev_cap_descriptor {
pub bLength: u8,
pub bDescriptorType: u8,
pub bDevCapabilityType: u8,
pub bReserved: u8,
pub UUID: [u8; 16],
pub CapabilityData: __IncompleteArrayField<u8>,
}Fields§
§bLength: u8§bDescriptorType: u8§bDevCapabilityType: u8§bReserved: u8§UUID: [u8; 16]§CapabilityData: __IncompleteArrayField<u8>Trait Implementations§
Source§impl Default for usb_plat_dev_cap_descriptor
impl Default for usb_plat_dev_cap_descriptor
Source§fn default() -> usb_plat_dev_cap_descriptor
fn default() -> usb_plat_dev_cap_descriptor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for usb_plat_dev_cap_descriptor
impl RefUnwindSafe for usb_plat_dev_cap_descriptor
impl Send for usb_plat_dev_cap_descriptor
impl Sync for usb_plat_dev_cap_descriptor
impl Unpin for usb_plat_dev_cap_descriptor
impl UnwindSafe for usb_plat_dev_cap_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