Struct syntax::codemap::SpannedUnstable
[-] [+]
[src]
pub struct Spanned<T> {
pub node: T,
pub span: Span,
}Fields
node | |
span |
pub struct Spanned<T> {
pub node: T,
pub span: Span,
}node | |
span |
impl<T: ToTokens> ToTokens for Spanned<T>impl<T: Copy> Copy for Spanned<T> where T: Copyimpl<T: Debug> Debug for Spanned<T> where T: Debugimpl<T: Hash> Hash for Spanned<T> where T: Hashfn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl<T: Decodable> Decodable for Spanned<T> where T: Decodableimpl<T: Encodable> Encodable for Spanned<T> where T: Encodableimpl<T: Eq> Eq for Spanned<T> where T: Eqimpl<T: PartialEq> PartialEq for Spanned<T> where T: PartialEqimpl<T: Clone> Clone for Spanned<T> where T: Clonefn clone(&self) -> Spanned<T>fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).