pub trait ExpressionCanonicalize: Op + OneResultInterface {
// Required method
fn canonical_expression(
&self,
ctx: &Context,
operands: Vec<ExpressionValue>,
) -> Expression;
// Provided method
fn verify(_op: &dyn Op, _ctx: &Context) -> Result<()>
where Self: Sized { ... }
}Required Methods§
fn canonical_expression( &self, ctx: &Context, operands: Vec<ExpressionValue>, ) -> Expression
Provided Methods§
Trait Implementations§
impl OpInterfaceMarker for dyn ExpressionCanonicalize
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".