pub fn modifying<F>(self, modification_behavior: F) -> Self where
        F: 'static + FnMut(&mut I)
    {
        self.method.store.get_mut::<I, O>(self.id).set_modification(modification_behavior);
        self
    }
/// Specify a behavior to be executed as a side-effect when the method is called.
///
/// The primary use for this is to modify parameters passed as mutable references.
Specify a behavior to be executed as a side-effect when the method is called.
The primary use for this is to modify parameters passed as mutable references.
Specify a behavior to be executed as a side - effect when the method is called . The primary use for this is to modify parameters passed as mutable references .
pub fn modifying<F>(self, modification_behavior: F) -> Self where
        F: 'static + FnMut(&mut I)
    {
        self.method.store.get_mut::<I, O>(self.id).set_modification(modification_behavior);
        self
    }
pub fn modifying < F > ( self , modification_behavior : F ) -> Self where F : ' static + FnMut ( & mut I ) { self . method . store . get_mut :: < I , O > ( self . id ) . set_modification ( modification_behavior ) ; self }
Specify a behavior to be executed as a side-effect when the method is called.
Specify a behavior to be executed as a side - effect when the method is called .
self
modification_behavior
F
self
modification_behavior
F