Struct cranelift_reader::HeapCommand [−][src]
pub struct HeapCommand {
pub heap_type: HeapType,
pub size: Uimm64,
pub ptr_offset: Option<Uimm64>,
pub bound_offset: Option<Uimm64>,
}
Expand description
A heap command appearing in a test file.
For parsing, see Parser::parse_heap_command
Fields
heap_type: HeapType
Indicates the requested heap type
size: Uimm64
Size of the heap.
For dynamic heaps this is the starting size. For static heaps, this is the total size.
ptr_offset: Option<Uimm64>
Offset of the heap pointer from the vmctx base
This is done for verification purposes only
bound_offset: Option<Uimm64>
Offset of the bound pointer from the vmctx base
This is done for verification purposes only
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HeapCommand
impl Send for HeapCommand
impl Sync for HeapCommand
impl Unpin for HeapCommand
impl UnwindSafe for HeapCommand
Blanket Implementations
Mutably borrows from an owned value. Read more