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.
pub trait Subst: Sized {
// Required method
fn subst(&self, data: &SubstData) -> Result<Self>;
}
Trait for variable substition: implement this trait to support substition in data structure.