[][src]Enum wain_syntax_text::ast::Index

pub enum Index<'s> {
    Num(u32),
    Ident(&'s str),
}

Variants

Num(u32)
Ident(&'s str)

Trait Implementations

impl<'s> Display for Index<'s>[src]

impl<'s> Parse<'s> for Index<'s>[src]

Auto Trait Implementations

impl<'s> RefUnwindSafe for Index<'s>

impl<'s> Send for Index<'s>

impl<'s> Sync for Index<'s>

impl<'s> Unpin for Index<'s>

impl<'s> UnwindSafe for Index<'s>

Blanket Implementations

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

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

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

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

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

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

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.