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

Method default

src/config/text.rs:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12#[derive(Debug, Deserialize, Serialize)]
13pub(crate) struct TextConfig {
14 speed: f32,
15 opacity: f32,
16 is_bold: bool,
17 show_shadow: bool,
18 // 老 user.toml 缺该字段也能解析
19 #[serde(default = "default_font")]
20 font: String,
21}
22

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected