Module tuikit::prelude[][src]

Re-exports

pub use crate::attr::Attr;
pub use crate::attr::Effect;
pub use crate::canvas::Canvas;
pub use crate::cell::Cell;
pub use crate::draw::Draw;
pub use crate::draw::DrawResult;
pub use crate::event::Event;
pub use crate::key::*;
pub use crate::term::Term;
pub use crate::term::TermHeight;
pub use crate::term::TermOptions;
pub use crate::widget::Rectangle;
pub use crate::widget::Size;
pub use crate::widget::Widget;
pub use crate::Result;

Structs

HSplit

HSplit will split the area horizontally. It will

Stack

A stack of widgets, will draw the including widgets back to front

VSplit

VSplit will split the area vertically. It will

Win

! A Win is like a div in HTML, it has its margin/padding, and border

Enums

Color

Color of a character, could be 8 bit(256 color) or RGB color

Traits

Split

A Split item would contain 3 things 0. inner_size, will be used if basis is Size::Default.