pub struct Output { /* private fields */ }Implementations§
Source§impl Output
impl Output
pub fn new<T, U>( format: Option<T>, print_interval: Option<Time>, write_to_file: Option<U>, ) -> Self
pub fn update<T>(&mut self, to_print: T) -> ClimerResultwhere
T: ToString,
pub fn print<T>(&mut self, to_print: T) -> ClimerResultwhere
T: ToString,
pub fn set_prefix(&mut self, prefix: Option<String>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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