pub struct FontFile {
pub family: String,
pub data: Vec<u8>,
}Expand description
Font data provided by the user or extracted from a DOCX file.
Fields§
§family: StringFont family name (e.g., “Calibri”, “Arial”).
data: Vec<u8>Raw font file bytes (TTF/OTF).
Trait Implementations§
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