Struct cranelift_codegen::ir::entities::Ebb [−][src]
pub struct Ebb(_);
An opaque reference to an extended basic block in a function.
Methods
impl Ebb[src]
impl Ebbpub fn with_number(n: u32) -> Option<Self>[src]
pub fn with_number(n: u32) -> Option<Self>Create a new EBB reference from its number. This corresponds to the ebbNN representation.
This method is for use by the parser.
Trait Implementations
impl Copy for Ebb[src]
impl Copy for Ebbimpl Clone for Ebb[src]
impl Clone for Ebbfn clone(&self) -> Ebb[src]
fn clone(&self) -> EbbReturns 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 Ebb[src]
impl PartialEq for Ebbfn eq(&self, other: &Ebb) -> bool[src]
fn eq(&self, other: &Ebb) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Ebb) -> bool[src]
fn ne(&self, other: &Ebb) -> boolThis method tests for !=.
impl Eq for Ebb[src]
impl Eq for Ebbimpl Hash for Ebb[src]
impl Hash for Ebbfn 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 Ebb[src]
impl PartialOrd for Ebbfn partial_cmp(&self, other: &Ebb) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Ebb) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Ebb) -> bool[src]
fn lt(&self, other: &Ebb) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Ebb) -> bool[src]
fn le(&self, other: &Ebb) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Ebb) -> bool[src]
fn gt(&self, other: &Ebb) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Ebb) -> bool[src]
fn ge(&self, other: &Ebb) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for Ebb[src]
impl Ord for Ebbfn cmp(&self, other: &Ebb) -> Ordering[src]
fn cmp(&self, other: &Ebb) -> 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 Ebb
impl EntityRef for Ebbfn 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 Ebb
impl ReservedValue for Ebbfn reserved_value() -> Ebb
fn reserved_value() -> EbbCreate an instance of the reserved value.
impl Display for Ebb
impl Display for Ebbimpl Debug for Ebb
impl Debug for Ebbimpl From<Ebb> for AnyEntity[src]
impl From<Ebb> for AnyEntityimpl From<Ebb> for ProgramPoint[src]
impl From<Ebb> for ProgramPointimpl From<Ebb> for ExpandedProgramPoint[src]
impl From<Ebb> for ExpandedProgramPointimpl<PO: ProgramOrder> Comparator<Ebb> for PO[src]
impl<PO: ProgramOrder> Comparator<Ebb> for PO