pub trait Subst: Sized {
// Required method
fn subst(&self, data: &SubstData) -> Result<Self>;
}
Expand description
Trait for variable substition: implement this trait to support substition in data structure.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.