pub trait WithSpan: Sized {
// Provided methods
fn with_span(self, span: impl Into<Span>) -> Spanned<Self> { ... }
fn test_span(self) -> Spanned<Self> { ... }
}Provided Methods§
fn with_span(self, span: impl Into<Span>) -> Spanned<Self>
fn test_span(self) -> Spanned<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.