pub struct BarRegion {
pub index: u8,
pub base_addr: u64,
pub size: u64,
pub flags: BarFlags,
pub mapped: bool,
pub guest_addr: u64,
}Expand description
PCI BAR region descriptor
Fields§
§index: u8BAR index (0-5)
base_addr: u64Base address (physical)
size: u64Region size in bytes
flags: BarFlagsRegion flags
mapped: boolWhether this region is mapped into guest space
guest_addr: u64Guest physical address (if mapped)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BarRegion
impl RefUnwindSafe for BarRegion
impl Send for BarRegion
impl Sync for BarRegion
impl Unpin for BarRegion
impl UnwindSafe for BarRegion
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)