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§
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>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".