Struct cranelift_codegen::ir::entities::Heap [−][src]
pub struct Heap(_);
A reference to a heap.
Methods
impl Heap
[src]
impl Heap
pub fn with_number(n: u32) -> Option<Self>
[src]
pub fn with_number(n: u32) -> Option<Self>
Create a new heap reference from its number.
This method is for use by the parser.
Trait Implementations
impl Copy for Heap
[src]
impl Copy for Heap
impl Clone for Heap
[src]
impl Clone for Heap
fn clone(&self) -> Heap
[src]
fn clone(&self) -> Heap
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Heap
[src]
impl PartialEq for Heap
fn eq(&self, other: &Heap) -> bool
[src]
fn eq(&self, other: &Heap) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Heap) -> bool
[src]
fn ne(&self, other: &Heap) -> bool
This method tests for !=
.
impl Eq for Heap
[src]
impl Eq for Heap
impl Hash for Heap
[src]
impl Hash for Heap
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl EntityRef for Heap
impl EntityRef for Heap
fn new(index: usize) -> Self
fn new(index: usize) -> Self
Create a new entity reference from a small integer. This should crash if the requested index is not representable. Read more
fn index(self) -> usize
fn index(self) -> usize
Get the index that was used to create this entity reference.
impl ReservedValue for Heap
impl ReservedValue for Heap
fn reserved_value() -> Heap
fn reserved_value() -> Heap
Create an instance of the reserved value.
impl Display for Heap
impl Display for Heap
impl Debug for Heap
impl Debug for Heap
impl From<Heap> for AnyEntity
[src]
impl From<Heap> for AnyEntity