Struct guestmem::ranges::AddressRange
source · pub struct AddressRange {
pub start: u64,
pub end: u64,
}
Expand description
A range of bytes in the guest address space.
Fields§
§start: u64
The inclusive starting byte offset.
end: u64
The exclusive ending byte offset.
Implementations§
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 Copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)