pub struct GlyphBuffer(_);
Expand description

A buffer that contains the results of the shaping process.

Implementations

Returns the length of the data of the buffer.

When called before shaping this is the number of unicode codepoints contained in the buffer. When called after shaping it returns the number of glyphs stored.

Returns true if the buffer contains no elements.

Get the glyph infos.

Get the glyph positions.

Clears the content of the glyph buffer and returns an empty UnicodeBuffer reusing the existing allocation.

Converts the glyph buffer content into a string.

Trait Implementations

Formats the value using the given formatter. 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.