Method
process
(
&self,
event: &Event,
path: &mut IdPath,
cx: &mut Context,
actions: &mut Vec<Box<dyn Any>>,
)
Source from the content-addressed store, hash-verified
| 21 | F: Fn(S, &mut Context) -> V + Clone + 'static, |
| 22 | { |
| 23 | fn process( |
| 24 | &self, |
| 25 | event: &Event, |
| 26 | path: &mut IdPath, |
| 27 | cx: &mut Context, |
| 28 | actions: &mut Vec<Box<dyn Any>>, |
| 29 | ) { |
| 30 | path.push(0); |
| 31 | (self.func)(self.value.clone(), cx).process(event, path, cx, actions); |
| 32 | path.pop(); |
| 33 | } |
| 34 | |
| 35 | fn draw(&self, path: &mut IdPath, args: &mut DrawArgs) { |
| 36 | path.push(0); |
Callers
nothing calls this directly
Tested by
no test coverage detected