Struct xhci::extended_capabilities::NotSupportedId
source · pub struct NotSupportedId(pub u8);
Expand description
A struct representing that the Extended Capability with the ID is not supported by this crate.
Examples
// The Extended Capability with the ID 7 is not supported by this crate.
use xhci::extended_capabilities::NotSupportedId;
NotSupportedId(7);
Tuple Fields§
§0: u8
Trait Implementations§
source§impl Clone for NotSupportedId
impl Clone for NotSupportedId
source§fn clone(&self) -> NotSupportedId
fn clone(&self) -> NotSupportedId
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 Debug for NotSupportedId
impl Debug for NotSupportedId
source§impl Default for NotSupportedId
impl Default for NotSupportedId
source§fn default() -> NotSupportedId
fn default() -> NotSupportedId
Returns the “default value” for a type. Read more
source§impl Hash for NotSupportedId
impl Hash for NotSupportedId
source§impl Ord for NotSupportedId
impl Ord for NotSupportedId
source§fn cmp(&self, other: &NotSupportedId) -> Ordering
fn cmp(&self, other: &NotSupportedId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NotSupportedId> for NotSupportedId
impl PartialEq<NotSupportedId> for NotSupportedId
source§fn eq(&self, other: &NotSupportedId) -> bool
fn eq(&self, other: &NotSupportedId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NotSupportedId> for NotSupportedId
impl PartialOrd<NotSupportedId> for NotSupportedId
source§fn partial_cmp(&self, other: &NotSupportedId) -> Option<Ordering>
fn partial_cmp(&self, other: &NotSupportedId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for NotSupportedId
impl Eq for NotSupportedId
impl StructuralEq for NotSupportedId
impl StructuralPartialEq for NotSupportedId
Auto Trait Implementations§
impl RefUnwindSafe for NotSupportedId
impl Send for NotSupportedId
impl Sync for NotSupportedId
impl Unpin for NotSupportedId
impl UnwindSafe for NotSupportedId
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