[][src]Struct syn::Label

pub struct Label {
    pub name: Lifetime,
    pub colon_token: Colon,
}

A lifetime labeling a for, while, or loop.

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

Fields

name: Lifetimecolon_token: Colon

Trait Implementations

impl Parse for Label[src]

impl Clone for Label[src]

impl Eq for Label[src]

impl PartialEq<Label> for Label[src]

impl Debug for Label[src]

impl Hash for Label[src]

impl StructuralPartialEq for Label[src]

impl StructuralEq for Label[src]

impl ToTokens for Label[src]

Auto Trait Implementations

impl !Send for Label

impl !Sync for Label

impl Unpin for Label

impl UnwindSafe for Label

impl !RefUnwindSafe for Label

Blanket Implementations

impl<T> Spanned for T where
    T: Spanned + ?Sized
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]