Struct usb_ids::UsbIdWithChildren
source · pub struct UsbIdWithChildren<T: Copy, C: 'static> { /* private fields */ }
Expand description
Represents a generic USB ID in the USB database with children IDs.
Not designed to be used directly; use one of the type aliases instead.
Implementations§
source§impl<T: Copy, C: 'static> UsbIdWithChildren<T, C>
impl<T: Copy, C: 'static> UsbIdWithChildren<T, C>
Trait Implementations§
source§impl<T: Clone + Copy, C: Clone + 'static> Clone for UsbIdWithChildren<T, C>
impl<T: Clone + Copy, C: Clone + 'static> Clone for UsbIdWithChildren<T, C>
source§fn clone(&self) -> UsbIdWithChildren<T, C>
fn clone(&self) -> UsbIdWithChildren<T, C>
Returns a copy 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<T: PartialEq + Copy, C: PartialEq + 'static> PartialEq for UsbIdWithChildren<T, C>
impl<T: PartialEq + Copy, C: PartialEq + 'static> PartialEq for UsbIdWithChildren<T, C>
source§fn eq(&self, other: &UsbIdWithChildren<T, C>) -> bool
fn eq(&self, other: &UsbIdWithChildren<T, C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy + Copy, C: Copy + 'static> Copy for UsbIdWithChildren<T, C>
impl<T: Eq + Copy, C: Eq + 'static> Eq for UsbIdWithChildren<T, C>
impl<T: Copy, C: 'static> StructuralPartialEq for UsbIdWithChildren<T, C>
Auto Trait Implementations§
impl<T, C> Freeze for UsbIdWithChildren<T, C>where
T: Freeze,
impl<T, C> RefUnwindSafe for UsbIdWithChildren<T, C>where
T: RefUnwindSafe,
C: RefUnwindSafe,
impl<T, C> Send for UsbIdWithChildren<T, C>
impl<T, C> Sync for UsbIdWithChildren<T, C>
impl<T, C> Unpin for UsbIdWithChildren<T, C>where
T: Unpin,
impl<T, C> UnwindSafe for UsbIdWithChildren<T, C>where
T: UnwindSafe,
C: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)