[][src]Struct darklua_core::nodes::FunctionCall

pub struct FunctionCall { /* fields omitted */ }

Methods

impl FunctionCall[src]

pub fn new(prefix: Prefix, arguments: Arguments, method: Option<String>) -> Self[src]

pub fn from_name<T: Into<String>>(name: T) -> Self[src]

pub fn with_arguments(self, arguments: Arguments) -> Self[src]

pub fn with_method(self, method: String) -> Self[src]

pub fn get_arguments(&self) -> &Arguments[src]

pub fn get_method(&self) -> Option<&String>[src]

pub fn get_prefix(&self) -> &Prefix[src]

pub fn take_method(&mut self) -> Option<String>[src]

pub fn set_arguments(&mut self, arguments: Arguments)[src]

pub fn set_method(&mut self, method: String)[src]

pub fn mutate_arguments(&mut self) -> &mut Arguments[src]

pub fn mutate_prefix(&mut self) -> &mut Prefix[src]

Trait Implementations

impl Clone for FunctionCall[src]

impl Debug for FunctionCall[src]

impl Eq for FunctionCall[src]

impl From<(Prefix, Arguments, Option<String>)> for FunctionCall[src]

impl From<FunctionCall> for Expression[src]

impl From<FunctionCall> for Statement[src]

impl PartialEq<FunctionCall> for FunctionCall[src]

impl Prefix<Expression, FunctionCall, FieldExpression, IndexExpression> for Prefix[src]

impl StructuralEq for FunctionCall[src]

impl StructuralPartialEq for FunctionCall[src]

impl ToLua for FunctionCall[src]

impl TryInto<FunctionCall> for Prefix[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

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> 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.