MCPcopy Create free account
hub / github.com/RustOtomeLab/RustEng / from_weak

Method from_weak

src/config/text.rs:30–39  ·  view source on GitHub ↗
(weak: Weak<MainWindow>)

Source from the content-addressed store, hash-verified

28 is_bold: false,
29 show_shadow: false,
30 font: SYSTEM_FONTS.default_font(),
31 }
32 }
33}
34impl TextConfig {
35 pub(crate) fn speed(&self) -> f32 {
36 self.speed
37 }
38
39 pub(crate) fn opacity(&self) -> f32 {
40 self.opacity
41 }
42

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected