pub struct TextBufferLine<'a> { /* private fields */ }

Implementations

Get current text

Set text Will reset shape and layout if it differs from current text Returns true if the line was reset

Get attributes list

Set attributes list. Will reset shape and layout if it differs from current attributes list Returns true if the line was reset

Get simple wrapping setting (wrap by characters only)

Set simple wrapping setting (wrap by characters only) Will reset shape and layout if it differs from current simple wrapping setting Returns true if the line was reset

Reset shaping and layout information

Check if shaping and layout information is cleared

Shape line, will cache results

Layout line, will cache results

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.