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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more