#[repr(C, packed(1))]pub struct usb_string_descriptor {
pub bLength: u8,
pub bDescriptorType: u8,
pub __bindgen_anon_1: usb_string_descriptor__bindgen_ty_1,
}Fields§
§bLength: u8§bDescriptorType: u8§__bindgen_anon_1: usb_string_descriptor__bindgen_ty_1Trait Implementations§
Source§impl Default for usb_string_descriptor
impl Default for usb_string_descriptor
Source§fn default() -> usb_string_descriptor
fn default() -> usb_string_descriptor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for usb_string_descriptor
impl RefUnwindSafe for usb_string_descriptor
impl Send for usb_string_descriptor
impl Sync for usb_string_descriptor
impl Unpin for usb_string_descriptor
impl UnwindSafe for usb_string_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