pub struct TimelineEntry {
pub timestamp_ns: u64,
pub label: String,
pub duration_ns: u64,
pub category: String,
}Expand description
A single entry in the profiling timeline.
Fields§
§timestamp_ns: u64Timestamp in nanoseconds.
label: StringShort description.
duration_ns: u64Duration in nanoseconds (0 for instantaneous events).
category: StringCategory tag.
Implementations§
Trait Implementations§
Source§impl Clone for TimelineEntry
impl Clone for TimelineEntry
Source§fn clone(&self) -> TimelineEntry
fn clone(&self) -> TimelineEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TimelineEntry
impl RefUnwindSafe for TimelineEntry
impl Send for TimelineEntry
impl Sync for TimelineEntry
impl Unpin for TimelineEntry
impl UnsafeUnpin for TimelineEntry
impl UnwindSafe for TimelineEntry
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