#[repr(C)]pub struct DescriptorType(pub u8);Tuple Fields§
§0: u8Implementations§
Source§impl DescriptorType
impl DescriptorType
pub const DEVICE: DescriptorType
pub const CONFIGURATION: DescriptorType
pub const STRING: DescriptorType
pub const INTERFACE: DescriptorType
pub const ENDPOINT: DescriptorType
pub const INTERFACE_POWER: DescriptorType
pub const OTG: DescriptorType
pub const DEBUG: DescriptorType
pub const INTERFACE_ASSOCIATION: DescriptorType
pub const BOS: DescriptorType
pub const DEVICE_CAPABILITY: DescriptorType
pub const SUPERSPEED_USB_ENDPOINT_COMPANION: DescriptorType
pub const SUPERSPEEDPLUS_ISOCHRONOUS_ENDPOINT_COMPANION: DescriptorType
Trait Implementations§
Source§impl Clone for DescriptorType
impl Clone for DescriptorType
Source§fn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DescriptorType
impl Debug for DescriptorType
Source§impl From<u8> for DescriptorType
impl From<u8> for DescriptorType
Source§fn from(value: u8) -> DescriptorType
fn from(value: u8) -> DescriptorType
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DescriptorType
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnwindSafe for DescriptorType
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