pub struct Display<W: Write> { /* private fields */ }Implementations§
Source§impl<W: Write> Display<W>
impl<W: Write> Display<W>
pub const fn new(writer: W, config: DisplayConfig) -> Result<Self>
pub fn clear_previous(&mut self) -> Result<()>
pub fn render(&mut self, state: &State, logs: &[String]) -> Result<()>
pub fn render_final(&mut self, state: &State) -> Result<()>
pub fn format_duration(&self, secs: f64) -> String
Auto Trait Implementations§
impl<W> Freeze for Display<W>where
W: Freeze,
impl<W> RefUnwindSafe for Display<W>where
W: RefUnwindSafe,
impl<W> Send for Display<W>where
W: Send,
impl<W> Sync for Display<W>where
W: Sync,
impl<W> Unpin for Display<W>where
W: Unpin,
impl<W> UnsafeUnpin for Display<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for Display<W>where
W: UnwindSafe,
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