pub trait Transform<T>: Send + Sync {
type Output;
// Required method
fn transform(&self, input: T) -> Result<Self::Output>;
// Provided method
fn is_deterministic(&self) -> bool { ... }
}Expand description
Core transform trait - all transformations must implement this
Required Associated Types§
Required Methods§
Provided Methods§
Sourcefn is_deterministic(&self) -> bool
fn is_deterministic(&self) -> bool
Check if the transform is deterministic
A deterministic transform always produces the same output for the same input. Non-deterministic transforms include random augmentations.