pub struct Font { /* private fields */ }

Implementations

Get the content version of the font.

Get the name of the font.

Get the default bounding box for glyphs.

Get the size of the font.

Get a property of the font.

Get an iterator over all glyphs of the font.

Get the glyph for this character, if contained in the font.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.