Struct cranelift_codegen::ir::entities::Inst [−][src]
pub struct Inst(_);
An opaque reference to an instruction in a function.
Trait Implementations
impl Index<Inst> for DataFlowGraph[src]
impl Index<Inst> for DataFlowGraphAllow immutable access to instructions via indexing.
type Output = InstructionData
The returned type after indexing.
fn index(&self, inst: Inst) -> &InstructionData[src]
fn index(&self, inst: Inst) -> &InstructionDataPerforms the indexing (container[index]) operation.
impl IndexMut<Inst> for DataFlowGraph[src]
impl IndexMut<Inst> for DataFlowGraphAllow mutable access to instructions via indexing.
fn index_mut(&mut self, inst: Inst) -> &mut InstructionData[src]
fn index_mut(&mut self, inst: Inst) -> &mut InstructionDataPerforms the mutable indexing (container[index]) operation.
impl Copy for Inst[src]
impl Copy for Instimpl Clone for Inst[src]
impl Clone for Instfn clone(&self) -> Inst[src]
fn clone(&self) -> InstReturns 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)Performs copy-assignment from source. Read more
impl PartialEq for Inst[src]
impl PartialEq for Instfn eq(&self, other: &Inst) -> bool[src]
fn eq(&self, other: &Inst) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Inst) -> bool[src]
fn ne(&self, other: &Inst) -> boolThis method tests for !=.
impl Eq for Inst[src]
impl Eq for Instimpl Hash for Inst[src]
impl Hash for Instfn 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, Feeds a slice of this type into the given [Hasher]. Read more
impl PartialOrd for Inst[src]
impl PartialOrd for Instfn partial_cmp(&self, other: &Inst) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Inst) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Inst) -> bool[src]
fn lt(&self, other: &Inst) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Inst) -> bool[src]
fn le(&self, other: &Inst) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Inst) -> bool[src]
fn gt(&self, other: &Inst) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Inst) -> bool[src]
fn ge(&self, other: &Inst) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for Inst[src]
impl Ord for Instfn cmp(&self, other: &Inst) -> Ordering[src]
fn cmp(&self, other: &Inst) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl EntityRef for Inst
impl EntityRef for Instfn new(index: usize) -> Self
fn new(index: usize) -> SelfCreate 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) -> usizeGet the index that was used to create this entity reference.
impl ReservedValue for Inst
impl ReservedValue for Instfn reserved_value() -> Inst
fn reserved_value() -> InstCreate an instance of the reserved value.
impl Display for Inst
impl Display for Instimpl Debug for Inst
impl Debug for Instimpl From<Inst> for AnyEntity[src]
impl From<Inst> for AnyEntityimpl From<Inst> for ProgramPoint[src]
impl From<Inst> for ProgramPointimpl From<Inst> for ExpandedProgramPoint[src]
impl From<Inst> for ExpandedProgramPoint