Struct puffin::Stream [−][src]
pub struct Stream(_);
Expand description
Stream of profiling events from one thread.
Implementations
pub fn begin_scope(
&mut self,
start_ns: NanoSecond,
id: &str,
location: &str,
data: &str
) -> usize
pub fn begin_scope(
&mut self,
start_ns: NanoSecond,
id: &str,
location: &str,
data: &str
) -> usize
Returns position where to write scope size once the scope is closed
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stream
impl UnwindSafe for Stream
Blanket Implementations
Mutably borrows from an owned value. Read more