pub struct EventIdBuilder<'p> { /* private fields */ }
Implementations§
Source§impl<'p> EventIdBuilder<'p>
impl<'p> EventIdBuilder<'p>
pub fn new(profiler: &Profiler) -> EventIdBuilder<'_>
pub fn from_label(&self, label: StringId) -> EventId
pub fn from_label_and_arg(&self, label: StringId, arg: StringId) -> EventId
pub fn from_label_and_args(&self, label: StringId, args: &[StringId]) -> EventId
Auto Trait Implementations§
impl<'p> Freeze for EventIdBuilder<'p>
impl<'p> !RefUnwindSafe for EventIdBuilder<'p>
impl<'p> Send for EventIdBuilder<'p>
impl<'p> Sync for EventIdBuilder<'p>
impl<'p> Unpin for EventIdBuilder<'p>
impl<'p> !UnwindSafe for EventIdBuilder<'p>
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