Calls a function in response to a tap.
(
self,
f: F,
)
| 141 | |
| 142 | /// Calls a function in response to a tap. |
| 143 | fn tap<A: 'static, F: Fn(&mut Context) -> A + Clone + 'static>( |
| 144 | self, |
| 145 | f: F, |
| 146 | ) -> Tap<Self, TapAdapter<F>> { |
| 147 | Tap::new(self, TapAdapter { f }) |
| 148 | } |
| 149 | |
| 150 | /// Version of `tap` which takes an action type instead |
| 151 | /// of a function. |
nothing calls this directly
no outgoing calls
no test coverage detected