Struct rustc_data_structures::profiling::TimingGuard
source · [−]pub struct TimingGuard<'a>(Option<TimingGuard<'a>>);Tuple Fields
0: Option<TimingGuard<'a>>Implementations
pub fn start(
profiler: &'a SelfProfiler,
event_kind: StringId,
event_id: EventId
) -> TimingGuard<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TimingGuard
impl<'a> Send for TimingGuard
impl<'a> Sync for TimingGuard
impl<'a> Unpin for TimingGuard
impl<'a> !UnwindSafe for TimingGuard
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes