pub struct ReportBuilder<C: Category> { /* private fields */ }
Implementations§
Source§impl<C: Category> ReportBuilder<C>
impl<C: Category> ReportBuilder<C>
pub fn new() -> Self
pub fn group_by_category(self, _enabled: bool) -> Self
pub fn include_percentiles(self, _enabled: bool) -> Self
pub fn time_format(self, _format: TimeFormat) -> Self
pub fn sort_by_time(self, _enabled: bool) -> Self
pub fn build(self) -> ProfileReport<C>
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for ReportBuilder<C>
impl<C> RefUnwindSafe for ReportBuilder<C>where
C: RefUnwindSafe,
impl<C> Send for ReportBuilder<C>
impl<C> Sync for ReportBuilder<C>
impl<C> Unpin for ReportBuilder<C>where
C: Unpin,
impl<C> UnwindSafe for ReportBuilder<C>where
C: 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