pub trait Transformation<Input, Output>: Sync {
// Required method
fn transform(&self, data: &Input) -> Output;
}Expand description
Generic transformation trait that is used both for scalars and packed fields
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".