pub struct FontFlags {
pub regular: Option<PathBuf>,
pub bold: Option<PathBuf>,
pub oblique: Option<PathBuf>,
}Expand description
Config-less one-off face selection (--font/--font-bold/
--font-oblique): the highest-precedence source in
FontRegistry::discover, bypassing fonts.satysfi-hash entirely.
Fields§
§regular: Option<PathBuf>§bold: Option<PathBuf>§oblique: Option<PathBuf>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontFlags
impl RefUnwindSafe for FontFlags
impl Send for FontFlags
impl Sync for FontFlags
impl Unpin for FontFlags
impl UnsafeUnpin for FontFlags
impl UnwindSafe for FontFlags
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