Module unsegen::base::cursor [−][src]
Expand description
A Cursor can be used to render text to Windows and Window-like types.
Structs
Cursor | Something that can be used to easily write text to a CursorTarget (e.g., a Window). |
CursorRestorer | Guard value used to restore desired state to a cursor at the end of the scope. Created using Cursor::save. |
CursorState | The actual state of a Cursor in contrast to a Cursor instance itself, which also stored a reference to the target it writes to. |
Enums
WrappingMode | Defines how a cursor behaves when arriving at the right-hand border of the CursorTarget. |
Constants
UNBOUNDED_HEIGHT | A symbolic value that can be used to specify that a cursor target does not have a maximum height. |
UNBOUNDED_WIDTH | A symbolic value that can be used to specify that a cursor target does not have a maximum width. |
Traits
CursorTarget | Something that can be written to using a Cursor. A most prominent example would be a Window. |