MCPcopy Create free account
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 }
55 } else {
56 let bx = match position {
57 "-2" | "vl" => 0.16,
58 "-1" | "sl" => 0.0,
59 "0" | "m" => 0.33,
60 "1" | "sr" => 0.66,
61 "2" | "vr" => 0.5,
62 _ => 0.33,
63 };
64 if distance == "no" {
65 (0.375, default_base_y)
66 } else {
67 (bx, default_base_y)
68 }
69 };
70
71 (base_x, base_y, width_ratio)
72}
73
74#[derive(Clone)]
75pub(crate) struct Executor {

Callers

nothing calls this directly

Calls 1

with_nameMethod · 0.80

Tested by

no test coverage detected