pub trait Transform: Debug {
    fn transform(
        relation: &mut MirRelationExpr,
        args: TransformArgs<'_>
    ) -> Result<(), TransformError>; fn debug(&self) -> String { ... } }
Expand description

Types capable of transforming relation expressions.

Required methods

Transform a relation into a functionally equivalent relation.

Provided methods

A string describing the transform.

This is useful mainly when iterating through many Box<Transform> and one wants to judge progress before some defect occurs.