Struct rustc_ap_rustc_data_structures::profiling::SelfProfiler[][src]

pub struct SelfProfiler { /* fields omitted */ }

Implementations

Allocates a new string in the profiling data. Does not do any caching or deduplication.

Gets a StringId for the given string. This method makes sure that any strings going through it will only be allocated once in the profiling data.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.