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

Method from_weak

src/config/user.rs:65–72  ·  view source on GitHub ↗
(weak: Weak<MainWindow>)

Source from the content-addressed store, hash-verified

63 }
64
65 pub(crate) fn is_shadow(&self) -> bool {
66 self.text.is_shadow()
67 }
68
69 pub(crate) fn font(&self) -> &str {
70 self.text.font()
71 }
72
73 pub(crate) fn character_volume(&self, name: &str) -> f32 {
74 *self.character_volume.volumes.get(name).unwrap()
75 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected