Skip to main content

BlockPtrExt

Trait BlockPtrExt 

Source
pub trait BlockPtrExt: Sized {
    // Required methods
    fn arguments(self, ctx: &Context) -> Vec<Value>;
    fn is_empty(&self, ctx: &Context) -> bool;
    fn is_entry_block(&self, ctx: &Context) -> bool;
    fn ops_with_interface<T: OpInterfaceMarker + ?Sized + 'static>(
        &self,
        ctx: &Context,
    ) -> impl Iterator<Item = TraitOp<T>>;
}

Required Methods§

Source

fn arguments(self, ctx: &Context) -> Vec<Value>

Source

fn is_empty(&self, ctx: &Context) -> bool

Source

fn is_entry_block(&self, ctx: &Context) -> bool

Source

fn ops_with_interface<T: OpInterfaceMarker + ?Sized + 'static>( &self, ctx: &Context, ) -> impl Iterator<Item = TraitOp<T>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§