Struct cranelift_codegen::ir::entities::Block [−][src]
pub struct Block(_);
An opaque reference to a basic block in a
Function.
You can get a Block using
FunctionBuilder::create_block
While the order is stable, it is arbitrary and does not necessarily resemble the layout order.
Implementations
impl Block[src]
impl Block[src]impl Block[src]
impl Block[src]pub fn with_number(n: u32) -> Option<Self>[src]
Create a new block reference from its number. This corresponds to the blockNN representation.
This method is for use by the parser.
Trait Implementations
impl PartialOrd<Block> for Block[src]
impl PartialOrd<Block> for Block[src]impl ReservedValue for Block[src]
impl ReservedValue for Block[src]fn reserved_value() -> Block[src]
fn is_reserved_value(&self) -> bool[src]
impl Copy for Block[src]
impl Eq for Block[src]
impl StructuralEq for Block[src]
impl StructuralPartialEq for Block[src]
Auto Trait Implementations
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
Blanket Implementations
impl<T> CallHasher for T where
T: Hash, [src]
impl<T> CallHasher for T where
T: Hash, [src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> SparseMapValue<T> for T where
T: EntityRef, [src]
impl<T> SparseMapValue<T> for T where
T: EntityRef, [src]