[][src]Struct syn::token::As

pub struct As {
    pub span: Span,
}

as

Don't try to remember the name of this type — use the Token! macro instead.

Fields

span: Span

Trait Implementations

impl Token for As[src]

impl Parse for As[src]

impl Clone for As[src]

impl Copy for As[src]

impl Default for As[src]

impl Eq for As[src]

impl PartialEq<As> for As[src]

impl Debug for As[src]

impl Hash for As[src]

impl ToTokens for As[src]

Auto Trait Implementations

impl !Send for As

impl !Sync for As

impl Unpin for As

impl UnwindSafe for As

impl !RefUnwindSafe for As

Blanket Implementations

impl<T> Token for T where
    T: CustomToken, 
[src]

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]