pub struct UnicodeBuffer(_);
Expand description

A buffer that contains an input string ready for shaping.

Implementations

Create a new UnicodeBuffer.

Returns the length of the data of the buffer.

This corresponds to the number of unicode codepoints contained in the buffer.

Returns true if the buffer contains no elements.

Pushes a string to a buffer.

Set the text direction of the Buffer’s contents.

Returns the Buffer’s text direction.

Set the script from an ISO15924 tag.

Get the ISO15924 script tag.

Set the buffer language.

Get the buffer language.

Guess the segment properties (direction, language, script) for the current buffer.

Set the cluster level of the buffer.

Retrieve the cluster level of the buffer.

Resets clusters.

Clear the contents of the buffer.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. 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.