pub struct FontFile {
pub family: String,
pub data: Vec<u8>,
}Expand description
Font data provided by the user or extracted from an OOXML file.
Fields§
§family: StringFont family name (e.g., “Calibri”, “Arial”).
data: Vec<u8>Raw font file bytes (TTF/OTF).
Trait Implementations§
impl Eq for FontFile
impl StructuralPartialEq for FontFile
Auto Trait Implementations§
impl Freeze for FontFile
impl RefUnwindSafe for FontFile
impl Send for FontFile
impl Sync for FontFile
impl Unpin for FontFile
impl UnsafeUnpin for FontFile
impl UnwindSafe for FontFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.