Struct cranelift_codegen::ir::entities::HeapImm
source · pub struct HeapImm(_);
Expand description
An opaque reference to some out-of-line immediates for heap_{load,store}
instructions.
These immediates are too large to store in
InstructionData
and therefore must
be tracked separately in
DataFlowGraph::heap_imms
. HeapImm
provides
a way to reference values stored there.
While the order is stable, it is arbitrary.
Implementations§
Trait Implementations§
source§impl Ord for HeapImm
impl Ord for HeapImm
source§impl PartialEq<HeapImm> for HeapImm
impl PartialEq<HeapImm> for HeapImm
source§impl PartialOrd<HeapImm> for HeapImm
impl PartialOrd<HeapImm> for HeapImm
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ReservedValue for HeapImm
impl ReservedValue for HeapImm
source§fn reserved_value() -> HeapImm
fn reserved_value() -> HeapImm
Create an instance of the reserved value.
source§fn is_reserved_value(&self) -> bool
fn is_reserved_value(&self) -> bool
Checks whether value is the reserved one.
impl Copy for HeapImm
impl Eq for HeapImm
impl StructuralEq for HeapImm
impl StructuralPartialEq for HeapImm
Auto Trait Implementations§
impl RefUnwindSafe for HeapImm
impl Send for HeapImm
impl Sync for HeapImm
impl Unpin for HeapImm
impl UnwindSafe for HeapImm
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.