pub struct PciAddress {
pub domain: u32,
pub bus: u8,
pub slot: u8,
pub function: u8,
}Fields§
§domain: u32§bus: u8§slot: 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 · 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 PciAddress
impl Debug for PciAddress
Source§impl<'de> Deserialize<'de> for PciAddress
impl<'de> Deserialize<'de> for PciAddress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PciAddress
impl Display for PciAddress
Source§impl From<PciAddress> for PciAddress
impl From<PciAddress> for PciAddress
Source§fn from(np_pci: PciAddress) -> Self
fn from(np_pci: PciAddress) -> Self
Converts to this type from the input type.
Source§impl From<PciAddress> for String
impl From<PciAddress> for String
Source§fn from(v: PciAddress) -> String
fn from(v: PciAddress) -> String
Converts to this type from the input type.
Source§impl FromStr for PciAddress
impl FromStr for PciAddress
Source§impl Hash for PciAddress
impl Hash for PciAddress
Source§impl PartialEq for PciAddress
impl PartialEq for PciAddress
Source§impl Serialize for PciAddress
impl Serialize for PciAddress
Source§impl TryFrom<&str> for PciAddress
impl TryFrom<&str> for PciAddress
Source§impl TryFrom<String> for PciAddress
impl TryFrom<String> for PciAddress
impl Copy for PciAddress
impl Eq 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 UnwindSafe for PciAddress
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.