Module cursive::prelude
[−]
[src]
Commonly used imports, conveniently grouped.
To easily import a bunch of commonly-used definitions, import this bundle:
use cursive::prelude::*;
Reexports
pub use ::{Cursive}; |
pub use event::{Event, Key}; |
pub use view::{Selector, View}; |
pub use vec::Vec2; |
pub use menu::MenuTree; |
Structs
BoxView |
Wrapper around another view, with a fixed size. |
Button |
Simple text label with a callback when |
Checkbox |
Checkable box. |
Dialog |
Popup-like view with a main content, and optional buttons under it. |
EditView |
Input box where the user can enter and edit text. |
FullView |
Simple wrapper view that asks for all the space it can get. |
IdView |
Wrapper view that allows to select its content with a fixed string id. |
KeyEventView |
A simple wrapper view that catches some ignored event from its child. |
LinearLayout |
Arranges its children linearly according to its orientation. |
ListView |
Displays a scrollable list of elements. |
Printer |
Convenient interface to draw on a subset of the screen. |
SelectView |
View to select an item among a list. |
TextView |
A simple view showing a fixed text |
Traits
With |
Generic trait to enable chainable API |