Enum cranelift_codegen::ir::HeapStyle [−][src]
pub enum HeapStyle { Dynamic { bound_gv: GlobalValue, }, Static { bound: Uimm64, }, }
Expand description
Style of heap including style-specific information.
Variants
A dynamic heap can be relocated to a different base address when it is grown.
Show fields
Fields of Dynamic
bound_gv: GlobalValue
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.
Show fields
Fields of Static
bound: Uimm64
Heap bound in bytes. The offset-guard pages are allocated after the bound.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HeapStyle
impl Send for HeapStyle
impl Sync for HeapStyle
impl Unpin for HeapStyle
impl UnwindSafe for HeapStyle
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more