pub enum Source {
Blob(Blob),
TableFunction(TableFunction),
}Expand description
Source for font data.
Variants§
Blob(Blob)
A nice flat buffer.
TableFunction(TableFunction)
Lazy loader with per-table data provided by a function.
Trait Implementations§
Source§impl From<TableFunction> for Source
impl From<TableFunction> for Source
Source§fn from(value: TableFunction) -> Self
fn from(value: TableFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Source
impl !UnwindSafe for Source
impl Freeze for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
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