pub struct TraceEvent<Label, TimeStamp> {
pub ty: EventType,
pub at: TimeStamp,
pub label: Label,
}
Expand description
A trace event.
Fields§
§ty: EventType
§at: TimeStamp
§label: Label
Trait Implementations§
Source§impl<Label: Clone, TimeStamp: Clone> Clone for TraceEvent<Label, TimeStamp>
impl<Label: Clone, TimeStamp: Clone> Clone for TraceEvent<Label, TimeStamp>
Source§fn clone(&self) -> TraceEvent<Label, TimeStamp>
fn clone(&self) -> TraceEvent<Label, TimeStamp>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<Label, TimeStamp> Freeze for TraceEvent<Label, TimeStamp>
impl<Label, TimeStamp> RefUnwindSafe for TraceEvent<Label, TimeStamp>where
TimeStamp: RefUnwindSafe,
Label: RefUnwindSafe,
impl<Label, TimeStamp> Send for TraceEvent<Label, TimeStamp>
impl<Label, TimeStamp> Sync for TraceEvent<Label, TimeStamp>
impl<Label, TimeStamp> Unpin for TraceEvent<Label, TimeStamp>
impl<Label, TimeStamp> UnwindSafe for TraceEvent<Label, TimeStamp>where
TimeStamp: UnwindSafe,
Label: 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