pub trait SpannedItem: Sized {
// Provided methods
fn spanned(self, span: impl Into<Span>) -> Spanned<Self> { ... }
fn spanned_unknown(self) -> Spanned<Self> { ... }
}
Provided Methods§
Sourcefn spanned_unknown(self) -> Spanned<Self>
fn spanned_unknown(self) -> Spanned<Self>
Converts a value into a Spanned value, using an unknown Span
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.