Enum cranelift_codegen::ir::entities::AnyEntity [−][src]
pub enum AnyEntity {
Function,
Ebb(Ebb),
Inst(Inst),
Value(Value),
StackSlot(StackSlot),
GlobalValue(GlobalValue),
JumpTable(JumpTable),
FuncRef(FuncRef),
SigRef(SigRef),
Heap(Heap),
}A reference to any of the entities defined in this module.
Variants
FunctionThe whole function.
Ebb(Ebb)An extended basic block.
Inst(Inst)An instruction.
Value(Value)An SSA value.
StackSlot(StackSlot)A stack slot.
GlobalValue(GlobalValue)A Global value.
JumpTable(JumpTable)A jump table.
FuncRef(FuncRef)An external function.
SigRef(SigRef)A function call signature.
Heap(Heap)A heap.
Trait Implementations
impl Copy for AnyEntity[src]
impl Copy for AnyEntityimpl Clone for AnyEntity[src]
impl Clone for AnyEntityfn clone(&self) -> AnyEntity[src]
fn clone(&self) -> AnyEntityReturns 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 AnyEntity[src]
impl PartialEq for AnyEntityfn eq(&self, other: &AnyEntity) -> bool[src]
fn eq(&self, other: &AnyEntity) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AnyEntity) -> bool[src]
fn ne(&self, other: &AnyEntity) -> boolThis method tests for !=.
impl Eq for AnyEntity[src]
impl Eq for AnyEntityimpl Hash for AnyEntity[src]
impl Hash for AnyEntityfn 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 Display for AnyEntity[src]
impl Display for AnyEntityfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Debug for AnyEntity[src]
impl Debug for AnyEntityfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Ebb> for AnyEntity[src]
impl From<Ebb> for AnyEntityimpl From<Inst> for AnyEntity[src]
impl From<Inst> for AnyEntityimpl From<Value> for AnyEntity[src]
impl From<Value> for AnyEntityimpl From<StackSlot> for AnyEntity[src]
impl From<StackSlot> for AnyEntityimpl From<GlobalValue> for AnyEntity[src]
impl From<GlobalValue> for AnyEntityfn from(r: GlobalValue) -> Self[src]
fn from(r: GlobalValue) -> SelfPerforms the conversion.
impl From<JumpTable> for AnyEntity[src]
impl From<JumpTable> for AnyEntityimpl From<FuncRef> for AnyEntity[src]
impl From<FuncRef> for AnyEntityimpl From<SigRef> for AnyEntity[src]
impl From<SigRef> for AnyEntityimpl From<Heap> for AnyEntity[src]
impl From<Heap> for AnyEntity