Crate view

Source
Expand description

Git Interactive Rebase Tool - View Module

§Description

This module is used to handle working with the view.

§Test Utilities

To facilitate testing the usages of this crate, a set of testing utilities are provided. Since these utilities are not tested, and often are optimized for developer experience than performance should only be used in test code.

Structs§

LineSegment
Represents a segment in a larger line.
RenderContext
Represents data associated with rendering content.
State
Represents a message sender and receiver for passing actions between threads.
Thread
A thread that updates the rendered view.
View
Represents a view.
ViewData
Represents the content to be rendered to the View.
ViewDataUpdater
An updater utility for a ViewData.
ViewLine
Represents a line in the view.

Constants§

MAIN_THREAD_NAME
The name of the main view thread.
REFRESH_THREAD_NAME
The name of the view refresh thread.