Struct rustc_ap_rustc_span::source_map::Spanned [−][src]
pub struct Spanned<T> {
pub node: T,
pub span: Span,
}Fields
node: Tspan: SpanTrait Implementations
impl<T, __CTX> HashStable<__CTX> for Spanned<T> where
__CTX: HashStableContext,
T: HashStable<__CTX>, [src]
impl<T, __CTX> HashStable<__CTX> for Spanned<T> where
__CTX: HashStableContext,
T: HashStable<__CTX>, [src]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
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V