#[repr(C)]pub struct SystemFonts {
pub ui_font: OptionString,
pub ui_font_size: OptionF32,
pub monospace_font: OptionString,
}Expand description
Common system font settings.
Fields§
§ui_font: OptionStringThe primary font used for UI elements like buttons and labels.
ui_font_size: OptionF32The default font size for UI elements, in points.
monospace_font: OptionStringThe font used for code or other monospaced text.
Trait Implementations§
Source§impl Clone for SystemFonts
impl Clone for SystemFonts
Source§fn clone(&self) -> SystemFonts
fn clone(&self) -> SystemFonts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemFonts
impl Debug for SystemFonts
Source§impl Default for SystemFonts
impl Default for SystemFonts
Source§fn default() -> SystemFonts
fn default() -> SystemFonts
Returns the “default value” for a type. Read more
Source§impl PartialEq for SystemFonts
impl PartialEq for SystemFonts
impl StructuralPartialEq for SystemFonts
Auto Trait Implementations§
impl Freeze for SystemFonts
impl RefUnwindSafe for SystemFonts
impl Send for SystemFonts
impl Sync for SystemFonts
impl Unpin for SystemFonts
impl UnwindSafe for SystemFonts
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