pub struct DeviceFunction {
pub bus: u8,
pub device: u8,
pub function: u8,
}Expand description
PCI device/function identifier.
Fields§
§bus: u8Bus number (0-255).
device: u8Device number (0-31).
function: u8Function number (0-7).
Implementations§
Trait Implementations§
Source§impl Clone for DeviceFunction
impl Clone for DeviceFunction
Source§fn clone(&self) -> DeviceFunction
fn clone(&self) -> DeviceFunction
Returns a copy 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 DeviceFunction
impl Debug for DeviceFunction
Source§impl PartialEq for DeviceFunction
impl PartialEq for DeviceFunction
impl Copy for DeviceFunction
impl Eq for DeviceFunction
impl StructuralPartialEq for DeviceFunction
Auto Trait Implementations§
impl Freeze for DeviceFunction
impl RefUnwindSafe for DeviceFunction
impl Send for DeviceFunction
impl Sync for DeviceFunction
impl Unpin for DeviceFunction
impl UnwindSafe for DeviceFunction
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