Struct cranelift_codegen::ir::entities::Heap [−][src]
pub struct Heap(_);
Expand description
An opaque reference to a heap.
Heaps are used to access dynamically allocated memory through
heap_addr
.
To create a heap, use FunctionBuilder::create_heap
.
While the order is stable, it is arbitrary.
Implementations
Create a new heap reference from its number.
This method is for use by the parser.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Create an instance of the reserved value.
Checks whether value is the reserved one.
Auto Trait Implementations
impl RefUnwindSafe for Heap
impl UnwindSafe for Heap
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.