Struct syntex_syntax::codemap::Spanned [] [src]

pub struct Spanned<T> {
    pub node: T,
    pub span: Span,
}

Fields

Trait Implementations

impl<T: Clone> Clone for Spanned<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Spanned<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for Spanned<T>
[src]

impl<T: Encodable> Encodable for Spanned<T>
[src]

impl<T: Decodable> Decodable for Spanned<T>
[src]

impl<T: Hash> Hash for Spanned<T>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<T: Debug> Debug for Spanned<T>
[src]

Formats the value using the given formatter.

impl<T: Copy> Copy for Spanned<T>
[src]

impl<T: ToTokens> ToTokens for Spanned<T>
[src]