[−][src]Struct puffin::Record
Used when parsing a Stream.
Fields
start_ns: NanoSecond
stop_ns: NanoSecond
id: &'s str
e.g. function name. Mandatory. Used to identify records. Does not need to be globally unique, just unique in the parent scope. Example: "load_image"
location: &'s str
e.g. file name. Optional. Used for finding the location of the profiler scope. Example: "my_library/image_loader.rs:52"
data: &'s str
e.g. function argument, like a mesh name. Optional. Example: "image.png".
Implementations
impl<'s> Record<'s>
[src]
pub fn duration_ns(&self) -> NanoSecond
[src]
Trait Implementations
impl<'s> Debug for Record<'s>
[src]
impl<'s> PartialEq<Record<'s>> for Record<'s>
[src]
impl<'s> StructuralPartialEq for Record<'s>
[src]
Auto Trait Implementations
impl<'s> RefUnwindSafe for Record<'s>
impl<'s> Send for Record<'s>
impl<'s> Sync for Record<'s>
impl<'s> Unpin for Record<'s>
impl<'s> UnwindSafe for Record<'s>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,