Struct unc_vm_runner::logic::MemSlice
source · pub struct MemSlice {
pub ptr: u64,
pub len: u64,
}Expand description
Representation of the address slice of guest memory.
Fields§
§ptr: u64Offset within guest memory at which the slice starts.
len: u64Length of the slice.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemSlice
impl RefUnwindSafe for MemSlice
impl Send for MemSlice
impl Sync for MemSlice
impl Unpin for MemSlice
impl UnwindSafe for MemSlice
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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