pub struct PciAddress {
pub domain: u32,
pub bus: u8,
pub device: u8,
pub function: u8,
}Fields§
§domain: u32§bus: u8§device: u8§function: u8Trait Implementations§
Source§impl Clone for PciAddress
impl Clone for PciAddress
Source§fn clone(&self) -> PciAddress
fn clone(&self) -> PciAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PciAddress
Source§impl Debug for PciAddress
impl Debug for PciAddress
Source§impl Display for PciAddress
impl Display for PciAddress
impl Eq for PciAddress
Source§impl FromStr for PciAddress
impl FromStr for PciAddress
Source§type Err = PciAddressError
type Err = PciAddressError
The associated error which can be returned from parsing.
Source§fn from_str(text: &str) -> Result<PciAddress, <PciAddress as FromStr>::Err>
fn from_str(text: &str) -> Result<PciAddress, <PciAddress as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PciAddress
impl Hash for PciAddress
Source§impl Ord for PciAddress
impl Ord for PciAddress
Source§fn cmp(&self, other: &PciAddress) -> Ordering
fn cmp(&self, other: &PciAddress) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PciAddress
impl PartialEq for PciAddress
Source§impl PartialOrd for PciAddress
impl PartialOrd for PciAddress
impl StructuralPartialEq for PciAddress
Auto Trait Implementations§
impl Freeze for PciAddress
impl RefUnwindSafe for PciAddress
impl Send for PciAddress
impl Sync for PciAddress
impl Unpin for PciAddress
impl UnsafeUnpin for PciAddress
impl UnwindSafe for PciAddress
Blanket Implementations§
impl<T> Boilerplate for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.