Struct pci::Location
[−]
[src]
pub struct Location { pub bus: u8, pub device: u8, pub function: u8, }
Physical location of a device on the bus
Fields
bus: u8
device: u8
function: u8
Trait Implementations
impl Copy for Location
[src]
impl Clone for Location
[src]
fn clone(&self) -> Location
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Location
[src]
fn eq(&self, __arg_0: &Location) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Location) -> bool
This method tests for !=
.