Struct ultron::TextBuffer[][src]

pub struct TextBuffer { /* fields omitted */ }
Expand description

A text buffer where every insertion of character it will recompute the highlighting of a line

Implementations

clear the text selection

return the min and max selection bound

calculate the bounds of the text_buffer

text manipulation This are purely manipulating text into the text buffer. The cursor shouldn’t be move here, since it is done by the commands functions

insert a character at this x and y and move cells after it to the right

replace the character at this location

Trait Implementations

Converts the given value to a String. 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

Performs the conversion.

Performs the conversion.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

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.