[][src]Struct syn::token::Dot

pub struct Dot { pub spans: [Span; 1], }


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


spans: [Span; 1]

Trait Implementations

impl Token for Dot[src]

impl Parse for Dot[src]

impl Eq for Dot[src]

impl PartialEq<Dot> for Dot[src]

fn ne(&self, other: &Rhs) -> bool

This method tests for !=.

impl Copy for Dot[src]

impl Clone for Dot[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Dot[src]

impl DerefMut for Dot[src]

impl Deref for Dot[src]

type Target = WithSpan

The resulting type after dereferencing.

impl Debug for Dot[src]

impl Hash for Dot[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher

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

impl ToTokens for Dot[src]

fn into_token_stream(self) -> TokenStream[src]

Convert self directly into a TokenStream object. Read more

Auto Trait Implementations

impl !Send for Dot

impl !Sync for Dot

Blanket Implementations

impl<T> Token for T where
    T: CustomToken, 

impl<T> Spanned for T where
    T: ToTokens

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

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