pub enum AddressRange {
Memory(Memory),
Mmio(Mmio),
}
Expand description
Information about a section of the guest’s address space.
Variants§
Implementations§
Source§impl AddressRange
impl AddressRange
Sourcepub fn range(&self) -> &MemoryRange
pub fn range(&self) -> &MemoryRange
The MemoryRange
for this address range.
Trait Implementations§
Source§impl Clone for AddressRange
impl Clone for AddressRange
Source§fn clone(&self) -> AddressRange
fn clone(&self) -> AddressRange
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 AddressRange
impl Debug for AddressRange
Source§impl PartialEq for AddressRange
impl PartialEq for AddressRange
impl Eq for AddressRange
impl StructuralPartialEq for AddressRange
Auto Trait Implementations§
impl Freeze for AddressRange
impl RefUnwindSafe for AddressRange
impl Send for AddressRange
impl Sync for AddressRange
impl Unpin for AddressRange
impl UnwindSafe for AddressRange
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