Struct syn::TypePath[][src]

pub struct TypePath {
    pub qself: Option<QSelf>,
    pub path: Path,
}

A path like std::slice::Iter, optionally qualified with a self-type as in <Vec<T> as SomeTrait>::Associated.

Type arguments are stored in the Path itself.

This type is available if Syn is built with the "derive" or "full" feature.

Fields

Trait Implementations

impl Synom for TypePath
[src]

A short name of the type being parsed. Read more

impl ToTokens for TypePath
[src]

Write self to the given Tokens. Read more

Convert self directly into a Tokens object. Read more

impl Clone for TypePath
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<TypePath> for Type
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for TypePath

impl !Sync for TypePath