pub struct FoundFont {
pub family: String,
pub key: String,
pub source: FoundFontSource,
}Expand description
A resolved system font entry usable by UI code.
family is the human-readable family name used for lookup.
key is a unique identifier suitable as a UI font key within the current process.
It is not guaranteed to be stable across machines or across runs.
Fields§
§family: String§key: String§source: FoundFontSourceTrait Implementations§
Auto Trait Implementations§
impl Freeze for FoundFont
impl RefUnwindSafe for FoundFont
impl Send for FoundFont
impl Sync for FoundFont
impl Unpin for FoundFont
impl UnwindSafe for FoundFont
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