pub struct TermCursor {
pub style: TextStyle,
// some fields omitted
}
The cursor on the TextBuffer that you can move around and change it's style.
Determines where and with what style the TextBuffer writes characters
The style of the cursor. Determines what style is used when writing characters.
Set the limits for drawing, other than the current screen.
None means no limit in this direction.
Get the current term limits of the cursor.
Moves the cursor to a specified location in the terminal.
Clamp cursor location to current limits or text_buffer boundaries if limits do not exist.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static