Struct rustc_ap_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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V