pub trait Modifier<F: ?Sized> {
// Required method
fn modify(self, _: &mut F);
}
Expand description
Allows use of the implemented type as an argument to Set::set.
This allows types to be used for ad-hoc overloading of Set::set to perform complex updates to the parameter of Modifier.