ltpp_output/output/
impl.rs1use crate::{ColorType, Output};
2
3use crate::output;
4
5impl<'a> Default for Output<'a> {
6 fn default() -> Self {
7 Output {
8 text: "",
9 text_color: ColorType::default(),
10 text_bg_color: ColorType::default(),
11 show_time: false,
12 time_text_color: ColorType::default(),
13 time_bg_color: ColorType::default(),
14 split: "",
15 split_color: ColorType::default(),
16 split_bg_color: ColorType::default(),
17 text_blod: false,
18 time_text_blod: false,
19 split_text_blod: false,
20 endl: false,
21 }
22 }
23}
24
25impl<'a> Output<'a> {
26 pub fn output(self) {
31 output(self);
32 }
33}