Trait modifier::Modifier
[−]
[src]
pub trait Modifier<F: ?Sized> { fn modify(self, &mut F); }
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.
Required Methods
fn modify(self, &mut F)
Modify F
with self.
Implementors
impl<X, M1> Modifier<X> for (M1,) where M1: Modifier<X>
impl<X, M1, M2> Modifier<X> for (M1, M2) where M1: Modifier<X>, M2: Modifier<X>
impl<X, M1, M2, M3> Modifier<X> for (M1, M2, M3) where M1: Modifier<X>, M2: Modifier<X>, M3: Modifier<X>
impl<X, M1, M2, M3, M4> Modifier<X> for (M1, M2, M3, M4) where M1: Modifier<X>, M2: Modifier<X>, M3: Modifier<X>, M4: Modifier<X>
impl<X, M1, M2, M3, M4, M5> Modifier<X> for (M1, M2, M3, M4, M5) where M1: Modifier<X>, M2: Modifier<X>, M3: Modifier<X>, M4: Modifier<X>, M5: Modifier<X>
impl<X, M1, M2, M3, M4, M5, M6> Modifier<X> for (M1, M2, M3, M4, M5, M6) where M1: Modifier<X>, M2: Modifier<X>, M3: Modifier<X>, M4: Modifier<X>, M5: Modifier<X>, M6: Modifier<X>