pub struct DeviceScope {
pub scope_type: u8,
pub enumeration_id: u8,
pub start_bus: u8,
pub path: [(u8, u8); 4],
pub path_len: u8,
}Expand description
Device scope entry within DRHD or RMRR structures.
Fields§
§scope_type: u8Scope type (1=PCI endpoint, 2=PCI sub-hierarchy, 3=IOAPIC, etc.).
enumeration_id: u8Enumeration ID (IOAPIC ID or HPET number).
start_bus: u8Start bus number.
path: [(u8, u8); 4]Path entries (dev:fn pairs).
path_len: u8Number of valid path entries.
Trait Implementations§
Source§impl Clone for DeviceScope
impl Clone for DeviceScope
Source§fn clone(&self) -> DeviceScope
fn clone(&self) -> DeviceScope
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceScope
impl Debug for DeviceScope
impl Copy for DeviceScope
Auto Trait Implementations§
impl Freeze for DeviceScope
impl RefUnwindSafe for DeviceScope
impl Send for DeviceScope
impl Sync for DeviceScope
impl Unpin for DeviceScope
impl UnwindSafe for DeviceScope
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)