pub struct ProfilerScope { /* fields omitted */ }
Expand description
Created by the puffin::profile*!(...)
macros.
The id
doesn’t need to be static, but it should be unchanging,
and this is a good way to enforce it.
data
can be changing, i.e. a name of a mesh or a texture.
Executes the destructor for this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.