1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
mod buffer;
mod style;
mod coord;
mod error;
mod canvas;
mod pixels;
mod rect;
mod scrollable;
pub mod util;
mod drawable;
mod widget;
pub use error::BufUiError;
pub use scrollable::Scrollable;
pub use rect::Rect;
pub use pixels::Pixels;
pub use drawable::Drawable;
pub use coord::Coord;
pub use buffer::Buffer;
pub use style::Style;
pub use widget::Widget;
pub use canvas::Canvas;
#[derive(Clone, Copy, PartialEq, Debug, Default)]
pub struct Pixel<S: Style> {
pub text: Option<char>,
pub style: S,
}