Trait naga::span::SpanProvider
source · pub(crate) trait SpanProvider<T> {
// Required method
fn get_span(&self, handle: Handle<T>) -> Span;
// Provided method
fn get_span_context(&self, handle: Handle<T>) -> SpanContext { ... }
}
Expand description
Trait abstracting over getting a span from an Arena
or a UniqueArena
.