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: GlobalValue
The address of the start of the heap’s storage.
min_size: Uimm64
Guaranteed minimum heap size in bytes. Heap accesses before min_size
don’t need bounds
checking.
offset_guard_size: Uimm64
Size in bytes of the offset-guard pages following the heap.
style: HeapStyle
Heap style, with additional style-specific info.
index_type: Type
The index type for the heap.
Trait Implementations§
source§impl PartialEq<HeapData> for HeapData
impl PartialEq<HeapData> for HeapData
impl StructuralPartialEq for HeapData
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§
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