pub struct DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> {
pub vendor_id: T0,
pub device_id: T1,
pub base_class: T2,
pub sub_class: T3,
pub program_interface: T4,
pub revision_id: T5,
pub bus_id: T6,
pub dev_id: T7,
pub func_id: T8,
pub padding: T9,
}Expand description
The generic type corresponding to DeviceInfo.
Fields§
§vendor_id: T0§device_id: T1§base_class: T2§sub_class: T3§program_interface: T4§revision_id: T5§bus_id: T6§dev_id: T7§func_id: T8§padding: T9Trait Implementations§
Source§impl<___E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Encode<DeviceInfo, ___E> for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
impl<___E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Encode<DeviceInfo, ___E> for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceInfo>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceInfo>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Auto Trait Implementations§
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Freeze for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> RefUnwindSafe for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
T6: RefUnwindSafe,
T7: RefUnwindSafe,
T8: RefUnwindSafe,
T9: RefUnwindSafe,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Send for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Sync for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Unpin for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> UnsafeUnpin for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>where
T0: UnsafeUnpin,
T1: UnsafeUnpin,
T2: UnsafeUnpin,
T3: UnsafeUnpin,
T4: UnsafeUnpin,
T5: UnsafeUnpin,
T6: UnsafeUnpin,
T7: UnsafeUnpin,
T8: UnsafeUnpin,
T9: UnsafeUnpin,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> UnwindSafe for DeviceInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>where
T0: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: UnwindSafe,
T6: UnwindSafe,
T7: UnwindSafe,
T8: UnwindSafe,
T9: UnwindSafe,
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> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]