pub struct OwnedFace(_);
An owned version of font Face.
Face
Creates an OwnedFace from owned data.
OwnedFace
You can set index for font collections. For simple ttf fonts set index to 0.
let owned_face = OwnedFace::from_vec(owned_font_data, 0).unwrap();
Convert to a Face reference.
Formats the value using the given formatter. Read more
Performs the conversion.
Gets the TypeId of self. Read more
TypeId
self
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.