Struct syn::BoundLifetimes[][src]

pub struct BoundLifetimes {
    pub for_token: For,
    pub lt_token: Lt,
    pub lifetimes: Punctuated<LifetimeDef, Comma>,
    pub gt_token: Gt,

A set of bound lifetimes: for<'a, 'b, 'c>.

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


Trait Implementations

impl Synom for BoundLifetimes

A short name of the type being parsed. Read more

impl ToTokens for BoundLifetimes

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl Default for BoundLifetimes

Returns the "default value" for a type. Read more

impl Debug for BoundLifetimes

Formats the value using the given formatter. Read more

impl Eq for BoundLifetimes

impl PartialEq for BoundLifetimes

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

This method tests for !=.

impl Hash for BoundLifetimes

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for BoundLifetimes

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations