#[repr(C, packed)]pub struct InterfaceProfile {Show 13 fields
pub id: u32,
pub device_id: u32,
pub unk: [u8; 4],
pub interface_descriptor: InterfaceDescriptor,
pub pad_1: [u8; 7],
pub output_endpoint_descriptors: [EndPointDescriptor; 15],
pub pad_2: [u8; 7],
pub input_endpoint_descriptors: [EndPointDescriptor; 15],
pub pad_3: [u8; 6],
pub output_ss_endpoint_companion_descriptors: [SsEndPointCompanionDescriptor; 15],
pub pad_4: [u8; 6],
pub input_ss_endpoint_companion_descriptors: [SsEndPointCompanionDescriptor; 15],
pub pad_5: [u8; 3],
}
Fields
id: u32
device_id: u32
unk: [u8; 4]
interface_descriptor: InterfaceDescriptor
pad_1: [u8; 7]
output_endpoint_descriptors: [EndPointDescriptor; 15]
pad_2: [u8; 7]
input_endpoint_descriptors: [EndPointDescriptor; 15]
pad_3: [u8; 6]
output_ss_endpoint_companion_descriptors: [SsEndPointCompanionDescriptor; 15]
pad_4: [u8; 6]
input_ss_endpoint_companion_descriptors: [SsEndPointCompanionDescriptor; 15]
pad_5: [u8; 3]
Trait Implementations
sourceimpl Clone for InterfaceProfile
impl Clone for InterfaceProfile
sourcefn clone(&self) -> InterfaceProfile
fn clone(&self) -> InterfaceProfile
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InterfaceProfile
impl Debug for InterfaceProfile
sourceimpl PartialEq<InterfaceProfile> for InterfaceProfile
impl PartialEq<InterfaceProfile> for InterfaceProfile
sourcefn eq(&self, other: &InterfaceProfile) -> bool
fn eq(&self, other: &InterfaceProfile) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InterfaceProfile) -> bool
fn ne(&self, other: &InterfaceProfile) -> bool
This method tests for !=
.
impl Copy for InterfaceProfile
impl Eq for InterfaceProfile
impl StructuralEq for InterfaceProfile
impl StructuralPartialEq for InterfaceProfile
Auto Trait Implementations
impl RefUnwindSafe for InterfaceProfile
impl Send for InterfaceProfile
impl Sync for InterfaceProfile
impl Unpin for InterfaceProfile
impl UnwindSafe for InterfaceProfile
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RequestCommandParameter for T where
T: Copy,
impl<T> RequestCommandParameter for T where
T: Copy,
default fn before_request_write(
_raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
default fn before_send_sync_request(
raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
sourceimpl<T> RequestCommandParameter<T> for T where
T: Copy,
impl<T> RequestCommandParameter<T> for T where
T: Copy,
default fn after_request_read(
ctx: &mut ServerContext<'_>
) -> Result<T, ResultCode>
sourceimpl<T> ResponseCommandParameter for T where
T: Copy,
impl<T> ResponseCommandParameter for T where
T: Copy,
default fn before_response_write(
_raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
default fn after_response_write(
raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
sourceimpl<T> ResponseCommandParameter<T> for T where
T: Copy,
impl<T> ResponseCommandParameter<T> for T where
T: Copy,
default fn after_response_read(
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<T, ResultCode>
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more