Struct futures_await_syn::TyParam [] [src]

pub struct TyParam {
    pub attrs: Vec<Attribute>,
    pub ident: Ident,
    pub colon_token: Option<Colon>,
    pub bounds: Delimited<TyParamBound, Add>,
    pub eq_token: Option<Eq>,
    pub default: Option<Ty>,
}

A generic type parameter, e.g. T: Into<String>.

Fields

Trait Implementations

impl Synom for TyParam
[src]

[src]

impl ToTokens for TyParam
[src]

[src]

Write self to the given Tokens. Read more

[src]

Convert self directly into a Tokens object. Read more

impl Clone for TyParam
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Ident> for TyParam
[src]

[src]

Performs the conversion.