pub struct FontRef {
pub key: Option<FontKey>,
pub spec: String,
pub size: Length,
}Expand description
A font as the IR names it.
Fields§
§key: Option<FontKey>The key the host’s font loader returned, None for TFM fonts.
spec: StringThe XeTeX font spec of a native font, the TFM name, or empty for host box runs.
size: LengthSize the font was loaded at.
Trait Implementations§
impl Eq for FontRef
impl StructuralPartialEq for FontRef
Auto Trait Implementations§
impl Freeze for FontRef
impl RefUnwindSafe for FontRef
impl Send for FontRef
impl Sync for FontRef
impl Unpin for FontRef
impl UnsafeUnpin for FontRef
impl UnwindSafe for FontRef
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