MCPcopy Create free account
hub / github.com/audulus/rui / process

Method process

src/views/offset.rs:15–26  ·  view source on GitHub ↗
(
        &self,
        event: &Event,
        path: &mut IdPath,
        cx: &mut Context,
        actions: &mut Vec<Box<dyn Any>>,
    )

Source from the content-addressed store, hash-verified

13 V: View,
14{
15 fn process(
16 &self,
17 event: &Event,
18 path: &mut IdPath,
19 cx: &mut Context,
20 actions: &mut Vec<Box<dyn Any>>,
21 ) {
22 path.push(0);
23 self.child
24 .process(&event.offset(-self.offset), path, cx, actions);
25 path.pop();
26 }
27
28 fn draw(&self, path: &mut IdPath, args: &mut DrawArgs) {
29 args.vger.save();

Callers

nothing calls this directly

Calls 1

offsetMethod · 0.45

Tested by

no test coverage detected