Struct harfbuzz_rs::GlyphBuffer [] [src]

pub struct GlyphBuffer(_);

A GlyphBuffer contains the resulting output information of the shaping process.

An object of this type is obtained through the shape function of a UnicodeBuffer.

Methods

impl GlyphBuffer
[src]

[src]

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.

[src]

Converts this buffer to a raw harfbuzz object pointer.

[src]

Returns true if the buffer contains no elements.

Important traits for &'a mut [u8]
[src]

Get the glyph positions.

Important traits for &'a mut [u8]
[src]

Get the glyph infos.

[src]

Reverse the Buffer's contents.

[src]

Reverse the Buffer's contents in the range from start to end.

[src]

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

Trait Implementations

impl Debug for GlyphBuffer
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for GlyphBuffer

impl !Sync for GlyphBuffer