color_output/output/impl.rs
1use crate::*;
2
3impl<'a> Default for Output<'a> {
4 fn default() -> Self {
5 Output {
6 text: "",
7 color: ColorType::default(),
8 bg_color: ColorType::default(),
9 blod: false,
10 endl: false,
11 }
12 }
13}
14
15impl<'a> Output<'a> {
16 /// Outputs
17 ///
18 /// # Returns
19 /// - `()` : Nothing is returned.
20 pub fn output(self) {
21 output(self);
22 }
23}