[][src]Struct full_moon::ast::MethodCall

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

A method call, such as x:y()

Methods

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

pub fn colon_token(&self) -> &TokenReference<'a>[src]

The : in x:y()

pub fn args(&self) -> &FunctionArgs<'a>[src]

The arguments of a method call, the x, y, z part of method:call(x, y, z)

pub fn name(&self) -> &TokenReference<'a>[src]

The method being called, the call part of method:call()

Trait Implementations

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

type Owned = MethodCall<'static>

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'a> Send for MethodCall<'a>

impl<'a> Sync for MethodCall<'a>

impl<'a> Unpin for MethodCall<'a>

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

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

Blanket Implementations

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]