[][src]Enum full_moon::ast::Suffix

pub enum Suffix<'a> {
    Call(Call<'a>),
    Index(Index<'a>),
}

A suffix in certain cases, such as :y() in x:y() Can be stacked on top of each other, such as in x()()()

Variants

Call(Call<'a>)

A call, including method calls and direct calls

Index(Index<'a>)

An index, such as x.y

Trait Implementations

impl<'a> Clone for Suffix<'a>[src]

impl<'a> Debug for Suffix<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for Suffix<'a>[src]

impl<'a> Node for Suffix<'a>[src]

impl<'a> Owned for Suffix<'a>[src]

type Owned = Suffix<'static>

What an owned version of the object looks like. Usually contains a 'static lifetime.

impl<'a> PartialEq<Suffix<'a>> for Suffix<'a>[src]

impl<'a> Serialize for Suffix<'a>[src]

impl<'a> StructuralPartialEq for Suffix<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Suffix<'a>

impl<'a> Send for Suffix<'a>

impl<'a> Sync for Suffix<'a>

impl<'a> Unpin for Suffix<'a>

impl<'a> !UnwindSafe for Suffix<'a>

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.