pub struct SystemFont {
pub id: String,
pub name: String,
pub font_name: String,
pub path: String,
pub weight: u16,
pub style: SystemFontStyle,
pub monospaced: bool,
}Fields§
§id: String§name: String§font_name: String§path: String§weight: u16§style: SystemFontStyle§monospaced: boolTrait Implementations§
Source§impl Clone for SystemFont
impl Clone for SystemFont
Source§fn clone(&self) -> SystemFont
fn clone(&self) -> SystemFont
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 moreAuto Trait Implementations§
impl Freeze for SystemFont
impl RefUnwindSafe for SystemFont
impl Send for SystemFont
impl Sync for SystemFont
impl Unpin for SystemFont
impl UnwindSafe for SystemFont
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