pub trait IntoSpanned {
type Output: HasFallibleSpan;
// Required method
fn into_spanned(self, span: impl Into<Span>) -> Self::Output;
}
Required Associated Types§
type Output: HasFallibleSpan
Required Methods§
fn into_spanned(self, span: impl Into<Span>) -> Self::Output
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.