HigherOrderTransform

Trait HigherOrderTransform 

Source
pub trait HigherOrderTransform:
    Send
    + Sync
    + Debug {
    // Required methods
    fn transform(
        &self,
        composition: Box<dyn Composition>,
    ) -> SklResult<Box<dyn Composition>>;
    fn transform_metadata(&self) -> TransformMetadata;
}
Expand description

Trait for higher-order transformations

Required Methods§

Source

fn transform( &self, composition: Box<dyn Composition>, ) -> SklResult<Box<dyn Composition>>

Apply higher-order transformation

Source

fn transform_metadata(&self) -> TransformMetadata

Get transformation metadata

Implementors§