pub trait Transformation<Input, Output> {
// Required method
fn transform(&self, data: &Input) -> Output;
}
Expand description
Generic transformation trait that is used both for scalars and packed fields
pub trait Transformation<Input, Output> {
// Required method
fn transform(&self, data: &Input) -> Output;
}
Generic transformation trait that is used both for scalars and packed fields