pub trait CastOpInterface:
Op
+ OneResultInterface
+ OneOpdInterface {
// Provided method
fn new(ctx: &mut Context, operand: Value, res_type: TypeHandle) -> Self
where Self: Sized { ... }
}Expand description
A Cast [Op] has one argument and one result.
Provided Methods§
Trait Implementations§
impl OpInterfaceMarker for dyn CastOpInterface
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".