[−][src]Enum tinypci::PciFullClass
Full class specification (type and subtype) for a PCI device.
Uses non-camel-case types for readability.
Variants
Methods
impl PciFullClass
[src]
pub fn from_u16(n: u16) -> PciFullClass
[src]
Convert a u16 into the corresponding PciFullClass
pub fn as_u16(&self) -> u16
[src]
Convert a PciFullClass to its u16 representation
Trait Implementations
impl Clone for PciFullClass
[src]
fn clone(&self) -> PciFullClass
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PciFullClass
[src]
impl Debug for PciFullClass
[src]
impl From<u16> for PciFullClass
[src]
impl PartialEq<PciFullClass> for PciFullClass
[src]
fn eq(&self, other: &PciFullClass) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for PciFullClass
[src]
Auto Trait Implementations
impl RefUnwindSafe for PciFullClass
impl Send for PciFullClass
impl Sync for PciFullClass
impl Unpin for PciFullClass
impl UnwindSafe for PciFullClass
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,