Struct rustc_span::source_map::Spanned [−][src]
pub struct Spanned<T> {
pub node: T,
pub span: Span,
}
Fields
node: T
span: Span
Trait Implementations
impl<T, __CTX> HashStable<__CTX> for Spanned<T> where
__CTX: HashStableContext,
T: HashStable<__CTX>,
impl<T, __CTX> HashStable<__CTX> for Spanned<T> where
__CTX: HashStableContext,
T: HashStable<__CTX>,
Auto Trait Implementations
impl<T> RefUnwindSafe for Spanned<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Spanned<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.