#[repr(C)]pub struct USBD_INTERFACE_INFORMATION {
pub Length: USHORT,
pub InterfaceNumber: UCHAR,
pub AlternateSetting: UCHAR,
pub Class: UCHAR,
pub SubClass: UCHAR,
pub Protocol: UCHAR,
pub Reserved: UCHAR,
pub InterfaceHandle: USBD_INTERFACE_HANDLE,
pub NumberOfPipes: ULONG,
pub Pipes: [USBD_PIPE_INFORMATION; 1],
}
Fields§
§Length: USHORT
§InterfaceNumber: UCHAR
§AlternateSetting: UCHAR
§Class: UCHAR
§SubClass: UCHAR
§Protocol: UCHAR
§Reserved: UCHAR
§InterfaceHandle: USBD_INTERFACE_HANDLE
§NumberOfPipes: ULONG
§Pipes: [USBD_PIPE_INFORMATION; 1]
Trait Implementations§
Source§impl Clone for USBD_INTERFACE_INFORMATION
impl Clone for USBD_INTERFACE_INFORMATION
Source§fn clone(&self) -> USBD_INTERFACE_INFORMATION
fn clone(&self) -> USBD_INTERFACE_INFORMATION
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 Default for USBD_INTERFACE_INFORMATION
impl Default for USBD_INTERFACE_INFORMATION
Source§fn default() -> USBD_INTERFACE_INFORMATION
fn default() -> USBD_INTERFACE_INFORMATION
Returns the “default value” for a type. Read more
impl Copy for USBD_INTERFACE_INFORMATION
Auto Trait Implementations§
impl Freeze for USBD_INTERFACE_INFORMATION
impl RefUnwindSafe for USBD_INTERFACE_INFORMATION
impl !Send for USBD_INTERFACE_INFORMATION
impl !Sync for USBD_INTERFACE_INFORMATION
impl Unpin for USBD_INTERFACE_INFORMATION
impl UnwindSafe for USBD_INTERFACE_INFORMATION
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