pub trait CompiledModifier: Send {
// Required method
fn apply(
&mut self,
context: &RowContext<'_>,
value: &mut GeneratedValue,
) -> Result<(), GenerateError>;
}Expand description
A compiled modifier: transforms a value in place after generation.
Required Methods§
Sourcefn apply(
&mut self,
context: &RowContext<'_>,
value: &mut GeneratedValue,
) -> Result<(), GenerateError>
fn apply( &mut self, context: &RowContext<'_>, value: &mut GeneratedValue, ) -> Result<(), GenerateError>
Transform value for the current row in place.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".