Struct syntex_syntax::ast::Ty [] [src]

pub struct Ty {
    pub id: NodeId,
    pub node: TyKind,
    pub span: Span,
}

Fields

Trait Implementations

impl Clone for Ty
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Ty
[src]

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

This method tests for !=.

impl Eq for Ty
[src]

impl Encodable for Ty
[src]

Serialize a value using an Encoder.

impl Decodable for Ty
[src]

Deserialize a value using a Decoder.

impl Hash for Ty
[src]

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

Feeds a slice of this type into the state provided.

impl Debug for Ty
[src]

Formats the value using the given formatter.

impl ToTokens for Ty
[src]