cursive/src/prelude.rs

16 lines
473 B
Rust
Raw Normal View History

//! Commonly used imports, conveniently grouped.
//!
//! To easily import a bunch of commonly-used definitions, import this bundle:
//!
//! ```
//! use cursive::prelude::*;
//! ```
pub use {Cursive, Printer, With};
pub use event::{Event, Key};
2016-07-21 05:02:45 +00:00
pub use view::{BoxView, Button, Checkbox, Dialog, EditView, FullView, IdView,
KeyEventView, LinearLayout, ListView, SelectView, Selector,
TextView, View};
pub use vec::Vec2;
pub use menu::MenuTree;