Skip to main content

VmMutPtr

Trait VmMutPtr 

Source
pub trait VmMutPtr: VmPtr {
    // Provided method
    fn vm_write(self, value: Self::Target) -> VmResult { ... }
}
Expand description

A mutable virtual memory pointer.

Provided Methods§

Source

fn vm_write(self, value: Self::Target) -> VmResult

Overwrites a virtual memory location with the given value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> VmMutPtr for *mut T

Source§

impl<T> VmMutPtr for NonNull<T>

Implementors§