Struct syntax::codemap::Spanned [] [src]

pub struct Spanned<T> {
    pub node: T,
    pub span: Span,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Fields

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

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

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

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]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

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

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

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]

🔬 This is a nightly-only experimental API. (rustc_private)