pub trait SpanProvider {
// Required method
fn source_location(&self, path: &str) -> Option<SourceSpan>;
}Required Methods§
fn source_location(&self, path: &str) -> Option<SourceSpan>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".