[−][src]Crate prototty
Modules
colours | |
inputs | |
prototty_inputs |
Structs
Align | |
Border | Decorate another element with a border. It's possible to give the border a title, in which case the text appears in the top-left corner. |
BorderChars | The characters comprising a border. By default, borders are made of unicode box-drawing characters, but they can be changed to arbitrary characters via this struct. |
BorderPadding | The space in cells between the edge of the bordered area and the element inside. |
Coord | General purpose coordinate |
Decorated | Represents a particular view |
DefaultMenuInstanceView | Default view of a |
DefaultRichTextView | Default view of a |
Menu | A list of |
MenuEntry | A single entry in a menu. It owns the value which will be yielded if this entry is finalised. |
MenuInstance | An instance of a menu, with a selected entry.
When a |
NotSupported | |
Rgb24 | |
RichStringView | |
RichText | A text element, where the style of the text
can be controlled. A single |
RichTextPart | A section of text sharing a common |
Size | A size cannot be created which would contain un-addressable cells.
That is, the maximum size has a width and height of one greater than the maximum |
StringView | |
TextInfo | Rich text settings |
TextInfoStringView | |
ViewCell |
Enums
Alignment | |
Input | An input event |
MenuOutput | The result of a user interacting with a menu. |
MouseButton | |
ProtottyInput | An input event |
ScrollDirection |
Traits
MenuIndexFromScreenCoord | |
View | Defines a method for rendering a |
ViewGrid | A grid of cells |
ViewSize | Report the size of a |