pub enum HeapStyle {
Dynamic {
bound_gv: GlobalValue,
},
Static {
bound: Uimm64,
},
}Style of heap including style-specific information.
A dynamic heap can be relocated to a different base address when it is grown.
Fields of Dynamic
Global value providing the current bound of the heap in bytes.
A static heap has a fixed base address and a number of not-yet-allocated pages before the
offset-guard pages.
Fields of Static
Heap bound in bytes. The offset-guard pages are allocated after the bound.
Performs copy-assignment from source. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more