Struct iced_graphics::text::FontSystem
source · pub struct FontSystem { /* private fields */ }
Expand description
A set of system fonts.
Implementations§
source§impl FontSystem
impl FontSystem
sourcepub fn raw(&mut self) -> &mut FontSystem
pub fn raw(&mut self) -> &mut FontSystem
Returns the raw cosmic_text::FontSystem
.
sourcepub fn version(&self) -> Version
pub fn version(&self) -> Version
Returns the current Version
of the FontSystem
.
Loading a font will increase the version of a FontSystem
.
Auto Trait Implementations§
impl !RefUnwindSafe for FontSystem
impl Send for FontSystem
impl Sync for FontSystem
impl Unpin for FontSystem
impl !UnwindSafe for FontSystem
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