pub trait Parameter<T: ?Sized>: Sized { fn set(self, to: &mut T) -> Result<()> { ... } fn get(from: &mut T) -> Result<Self> { ... } }
A parameter for a value.
Set the parameter on the value.
Get the parameter on the value.