pub struct FontData {
pub data: Blob<u8>,
pub index: u32,
}Expand description
Re-export of the linebender resource handle library types. Owned shareable font resource.
Fields§
§data: Blob<u8>Blob containing the content of the font file.
index: u32Index of the font in a collection, or 0 for a single font.
Implementations§
Trait Implementations§
impl StructuralPartialEq for FontData
Auto Trait Implementations§
impl Freeze for FontData
impl !RefUnwindSafe for FontData
impl Send for FontData
impl Sync for FontData
impl Unpin for FontData
impl !UnwindSafe for FontData
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