pub struct Format<D: Decorator> { /* private fields */ }
Expand description
Html formatter
Implementations§
Source§impl<D: Decorator> Format<D>
impl<D: Decorator> Format<D>
Sourcepub fn new(
mode: FormatMode,
decorator: D,
fn_timestamp: Box<TimestampFn>,
) -> Self
pub fn new( mode: FormatMode, decorator: D, fn_timestamp: Box<TimestampFn>, ) -> Self
Create a new Html formatter
Trait Implementations§
Auto Trait Implementations§
impl<D> !Freeze for Format<D>
impl<D> !RefUnwindSafe for Format<D>
impl<D> Send for Format<D>
impl<D> Sync for Format<D>
impl<D> Unpin for Format<D>where
D: Unpin,
impl<D> !UnwindSafe for Format<D>
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