Struct fuel_vm::prelude::MemoryRange
source ·
[−]pub struct MemoryRange { /* private fields */ }
Expand description
Memory range representation for the VM.
start
is inclusive, and end
is exclusive.
Implementations
Create a new memory range represented as [address, address + size[
.
Return the boundaries of the slice with exclusive end [a, b[
Remap the unbound boundaries to stack or heap when applicable.
Return an owned memory slice with a relative address to the heap space
defined in r[$hp]
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MemoryRange
impl Send for MemoryRange
impl Sync for MemoryRange
impl Unpin for MemoryRange
impl UnwindSafe for MemoryRange
Blanket Implementations
Mutably borrows from an owned value. Read more