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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! # Display text in a frame.
//!
//! Displays text within predefined or custom frames.
//! You can set the frame color, change the text alignment.
//!
//! # Examples
//!
//! ```
//! # use txtframe::*;
//! # #[cfg(feature = "color")]
//! let mut text_frame = TextFrame::new()
//! .frame_var(&FrameVar::Space)
//! .algn(Algn::Centr)
//! .color_fra(Color::Red)
//! .color_txt(Color::Cyan)
//! .color_fill(Color::Magenta)
//! .expand(0)
//! .width(100)
//! .expand_width(0)
//! .expand_height(0)
//! .left_top('✤')
//! .right_top('✤')
//! .left_btm('✤')
//! .right_btm('✤')
//! .top_line('―')
//! .vert_left('│')
//! .vert_right('│')
//! .btm_line('―')
//! .fill('░');
//!
//! # #[cfg(feature = "color")]
//! let text_frame_iter = text_frame.frame_iter("Text frame");
//! # #[cfg(feature = "color")]
//! println!("{}", text_frame_iter.collect::<String>());
//! ```
pub use crateAlgn;
pub use crateColor;
pub use crateFrameVar;
pub use crateTextFrame;