pub struct PciBar {
pub index: u8,
pub address: u64,
pub size: u64,
pub is_memory: bool,
pub is_64bit: bool,
pub prefetchable: bool,
}Expand description
PCI BAR (Base Address Register) info
Fields§
§index: u8BAR index (0-5)
address: u64Base address
size: u64Size in bytes
is_memory: boolWhether this is a memory BAR (vs I/O)
is_64bit: boolWhether this is a 64-bit BAR
prefetchable: boolWhether this is prefetchable
Trait Implementations§
impl Copy for PciBar
impl Eq for PciBar
impl StructuralPartialEq for PciBar
Auto Trait Implementations§
impl Freeze for PciBar
impl RefUnwindSafe for PciBar
impl Send for PciBar
impl Sync for PciBar
impl Unpin for PciBar
impl UnwindSafe for PciBar
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)