pub struct GlyphCalculatorGuard<'brush, 'font: 'brush, H = DefaultSectionHasher> { /* private fields */ }
Expand description

GlyphCalculator scoped cache lock.

Implementations

Returns the available fonts.

The FontId corresponds to the index of the font data.

Trait Implementations

Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more
Returns the pixel bounding box for the input section using a custom layout. The box is a conservative whole number pixel rectangle that can contain the section. Read more
Returns an iterator over the PositionedGlyphs of the given section with a custom layout. Read more
Returns the pixel bounding box for the input section. The box is a conservative whole number pixel rectangle that can contain the section. Read more
Returns an iterator over the PositionedGlyphs of the given section. Read more

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.