MCPcopy Index your code
hub / github.com/RustOtomeLab/RustEng / new

Method new

src/executors/executor.rs:56–72  ·  view source on GitHub ↗
(weak: Weak<MainWindow>)

Source from the content-addressed store, hash-verified

54 "-1" | "sl" => 0.0,
55 "0" | "m" => 0.33,
56 "1" | "sr" => 0.66,
57 "2" | "vr" => 0.5,
58 _ => 0.33,
59 };
60 if distance == "no" {
61 (0.375, default_base_y)
62 } else {
63 (bx, default_base_y)
64 }
65 };
66
67 (base_x, base_y, width_ratio)
68}
69
70#[derive(Clone)]
71pub(crate) struct Executor {
72 script: Rc<RefCell<Script>>,
73 media_player: Rc<RefCell<MediaPlayer>>,
74 cg: Rc<RefCell<u64>>,
75 weak: Weak<MainWindow>,

Callers

nothing calls this directly

Calls 1

with_nameMethod · 0.80

Tested by

no test coverage detected