pub struct OutputBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> OutputBuilder<'a>
impl<'a> OutputBuilder<'a>
pub fn new() -> Self
pub fn set_text(&mut self, text: &'a str) -> &mut Self
pub fn set_text_color(&mut self, text_color: ColorType) -> &mut Self
pub fn set_text_bg_color(&mut self, text_bg_color: ColorType) -> &mut Self
pub fn set_text_blod(&mut self, text_blod: bool) -> &mut Self
pub fn set_show_time(&mut self, show_time: bool) -> &mut Self
pub fn set_time_text_color(&mut self, time_text_color: ColorType) -> &mut Self
pub fn set_time_bg_color(&mut self, time_bg_color: ColorType) -> &mut Self
pub fn set_time_text_blod(&mut self, time_text_blod: bool) -> &mut Self
pub fn set_show_code_location(&mut self, show_code_location: bool) -> &mut Self
pub fn set_code_location_text_color( &mut self, code_location_text_color: ColorType, ) -> &mut Self
pub fn set_code_location_bg_color( &mut self, code_location_bg_color: ColorType, ) -> &mut Self
pub fn set_code_location_text_blod( &mut self, code_location_text_blod: bool, ) -> &mut Self
pub fn set_split(&mut self, split: &'a str) -> &mut Self
pub fn set_split_color(&mut self, split_color: ColorType) -> &mut Self
pub fn set_split_bg_color(&mut self, split_bg_color: ColorType) -> &mut Self
pub fn set_split_text_blod(&mut self, split_text_blod: bool) -> &mut Self
pub fn build(&self) -> Output<'_>
pub fn output(&self)
Auto Trait Implementations§
impl<'a> Freeze for OutputBuilder<'a>
impl<'a> RefUnwindSafe for OutputBuilder<'a>
impl<'a> Send for OutputBuilder<'a>
impl<'a> Sync for OutputBuilder<'a>
impl<'a> Unpin for OutputBuilder<'a>
impl<'a> UnwindSafe for OutputBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more