Trait core::FontFormat
source · pub trait FontFormat: Sized {
type Error: Error + 'static;
const DEFAULT_FILE_EXTENSION: &'static str;
// Required method
fn parse(b: &[u8]) -> Result<Self, Self::Error>;
}
Expand description
Trait satisfied by font formats (like .tfm files).
Required Associated Types§
Required Associated Constants§
const DEFAULT_FILE_EXTENSION: &'static str
Required Methods§
Object Safety§
This trait is not object safe.