Struct xhci::registers::capability::InterfaceVersionNumber[][src]

#[repr(transparent)]pub struct InterfaceVersionNumber(_);

Interface Version Number

Implementations

impl InterfaceVersionNumber[src]

#[must_use]pub fn get(self) -> u16[src]

Returns a BCD encoding of the xHCI specification revision number supported by HC.

The most significant byte of the value represents a major version and the least significant byte contains the minor revision extensions.

For example, 0x0110 means xHCI version 1.1.0.

Trait Implementations

impl Clone for InterfaceVersionNumber[src]

impl Copy for InterfaceVersionNumber[src]

impl Debug for InterfaceVersionNumber[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.