Struct cretonne::prelude::Ebb [−][src]
pub struct Ebb(_);
An opaque reference to an extended basic block in a function.
Methods
impl Ebb
[src]
impl Ebb
pub fn with_number(n: u32) -> Option<Ebb>
[src]
pub fn with_number(n: u32) -> Option<Ebb>
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 PartialOrd<Ebb> for Ebb
[src]
impl PartialOrd<Ebb> for Ebb
fn 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) -> bool
This 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) -> bool
This 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) -> bool
This 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) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for Ebb
[src]
impl Hash for Ebb
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
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 Clone for Ebb
[src]
impl Clone for Ebb
fn clone(&self) -> Ebb
[src]
fn clone(&self) -> Ebb
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)
Performs copy-assignment from source
. Read more
impl Debug for Ebb
impl Debug for Ebb
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Ord for Ebb
[src]
impl Ord for Ebb
fn cmp(&self, other: &Ebb) -> Ordering
[src]
fn cmp(&self, other: &Ebb) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl ReservedValue for Ebb
impl ReservedValue for Ebb
fn reserved_value() -> Ebb
fn reserved_value() -> Ebb
Create an instance of the reserved value.
impl EntityRef for Ebb
impl EntityRef for Ebb
fn new(index: usize) -> Ebb
fn new(index: usize) -> Ebb
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 From<Ebb> for AnyEntity
[src]
impl From<Ebb> for AnyEntity
impl From<Ebb> for ProgramPoint
[src]
impl From<Ebb> for ProgramPoint
fn from(ebb: Ebb) -> ProgramPoint
[src]
fn from(ebb: Ebb) -> ProgramPoint
Performs the conversion.
impl From<Ebb> for ExpandedProgramPoint
[src]
impl From<Ebb> for ExpandedProgramPoint
fn from(ebb: Ebb) -> ExpandedProgramPoint
[src]
fn from(ebb: Ebb) -> ExpandedProgramPoint
Performs the conversion.
impl Display for Ebb
impl Display for Ebb
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Ebb
[src]
impl Copy for Ebb
impl Eq for Ebb
[src]
impl Eq for Ebb
impl<PO> Comparator<Ebb> for PO where
PO: ProgramOrder,
[src]
impl<PO> Comparator<Ebb> for PO where
PO: ProgramOrder,
fn cmp(&self, a: Ebb, b: Ebb) -> Ordering
[src]
fn cmp(&self, a: Ebb, b: Ebb) -> Ordering
Compare keys a
and b
. Read more
fn search(&self, k: K, s: &[K]) -> Result<usize, usize>
[src]
fn search(&self, k: K, s: &[K]) -> Result<usize, usize>
Binary search for k
in an ordered slice. Read more
impl PartialEq<Ebb> for Ebb
[src]
impl PartialEq<Ebb> for Ebb