[][src]Struct full_moon::ast::FunctionCall

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

A function being called, such as call()

Implementations

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

pub fn new(prefix: Prefix<'a>) -> Self[src]

Creates a new FunctionCall from the given prefix Sets the suffixes such that the return is prefixes()

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

The prefix of a function call, the call part of call()

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

The suffix of a function call, the () part of call()

pub fn with_prefix(self, prefix: Prefix<'a>) -> Self[src]

Returns a new FunctionCall with the given prefix

pub fn with_suffixes(self, suffixes: Vec<Suffix<'a>>) -> Self[src]

Returns a new FunctionCall with the given suffixes

Trait Implementations

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

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

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

impl<'a> Display for FunctionCall<'a>[src]

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

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

type Owned = FunctionCall<'static>

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for FunctionCall<'a>

impl<'a> Send for FunctionCall<'a>

impl<'a> Sync for FunctionCall<'a>

impl<'a> Unpin for FunctionCall<'a>

impl<'a> UnwindSafe for FunctionCall<'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: for<'de> 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> 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.