pub struct MappedMemoryRange<'a, M> {
pub memory: &'a M,
pub offset: u64,
pub size: u64,
}
Expand description
Specifies range of the mapped memory region.
Fields§
§memory: &'a M
Memory object reference.
offset: u64
Offset in bytes from start of the memory object.
size: u64
Size in bytes of the memory range.
Trait Implementations§
Auto Trait Implementations§
impl<'a, M> Freeze for MappedMemoryRange<'a, M>
impl<'a, M> RefUnwindSafe for MappedMemoryRange<'a, M>where
M: RefUnwindSafe,
impl<'a, M> Send for MappedMemoryRange<'a, M>where
M: Sync,
impl<'a, M> Sync for MappedMemoryRange<'a, M>where
M: Sync,
impl<'a, M> Unpin for MappedMemoryRange<'a, M>
impl<'a, M> UnwindSafe for MappedMemoryRange<'a, M>where
M: RefUnwindSafe,
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