Struct glassbench::HtmlViewer
source · [−]pub struct HtmlViewer<'b> { /* private fields */ }
Expand description
The builder of the HTML standalone viewer
Implementations
sourceimpl<'b> HtmlViewer<'b>
impl<'b> HtmlViewer<'b>
pub fn new(bench_name: &'b str, task_name: Option<&'b str>) -> Self
pub fn open_in_browser(&self) -> Result<(), GlassBenchError>
pub fn write_html<W: Write>(&self, w: W) -> Result<(), GlassBenchError>
Auto Trait Implementations
impl<'b> RefUnwindSafe for HtmlViewer<'b>
impl<'b> Send for HtmlViewer<'b>
impl<'b> Sync for HtmlViewer<'b>
impl<'b> Unpin for HtmlViewer<'b>
impl<'b> UnwindSafe for HtmlViewer<'b>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more