[][src]Struct full_moon::ast::VarExpression

pub struct VarExpression<'a> { /* fields omitted */ }

A complex expression used by Var, consisting of both a prefix and suffixes

Methods

impl<'a> VarExpression<'a>[src]

pub fn prefix(&self) -> &Prefix<'a>[src]

The prefix of the expression, such as a name

pub fn iter_suffixes(&self) -> impl Iterator<Item = &Suffix<'a>>[src]

An iter over the suffixes, such as indexing or calling

Trait Implementations

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

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

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

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

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

type Owned = VarExpression<'static>

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

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

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

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

Auto Trait Implementations

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

impl<'a> Send for VarExpression<'a>

impl<'a> Sync for VarExpression<'a>

impl<'a> Unpin for VarExpression<'a>

impl<'a> !UnwindSafe for VarExpression<'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.