Struct cranelift_codegen::ir::HeapData
source · [−]pub struct HeapData {
pub base: GlobalValue,
pub min_size: Uimm64,
pub offset_guard_size: Uimm64,
pub style: HeapStyle,
pub index_type: Type,
}Expand description
Information about a heap declaration.
Fields
base: GlobalValueThe address of the start of the heap’s storage.
min_size: Uimm64Guaranteed minimum heap size in bytes. Heap accesses before min_size don’t need bounds
checking.
offset_guard_size: Uimm64Size in bytes of the offset-guard pages following the heap.
style: HeapStyleHeap style, with additional style-specific info.
index_type: TypeThe index type for the heap.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HeapData
impl Send for HeapData
impl Sync for HeapData
impl Unpin for HeapData
impl UnwindSafe for HeapData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more