pub struct OsConfig {
pub keyboard_layout: KeyboardLayout,
pub theme_name: String,
pub theme: ThemeConfig,
pub font_names: [String; 3],
pub enable_sound: bool,
pub swap_caps_ctrl: bool,
pub auto_dhcp: bool,
pub wifi_ssid: String,
pub wifi_password: String,
pub custom_theme: ThemeConfig,
pub enable_custom_colors: bool,
}Fields§
§keyboard_layout: KeyboardLayout§theme_name: String§theme: ThemeConfig§font_names: [String; 3]フォントのフォールバック順([0]=プライマリ)。主にグリフが無い文字を順に次のフォントで補う。
enable_sound: bool§swap_caps_ctrl: bool§auto_dhcp: bool§wifi_ssid: String§wifi_password: String§custom_theme: ThemeConfig§enable_custom_colors: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for OsConfig
impl RefUnwindSafe for OsConfig
impl Send for OsConfig
impl Sync for OsConfig
impl Unpin for OsConfig
impl UnsafeUnpin for OsConfig
impl UnwindSafe for OsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more