[−][src]Struct darklua_core::nodes::FunctionCall
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]
fn clone(&self) -> FunctionCall
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn from(call: FunctionCall) -> Expression
[src]
impl From<FunctionCall> for Statement
[src]
fn from(call: FunctionCall) -> Statement
[src]
impl PartialEq<FunctionCall> for FunctionCall
[src]
fn eq(&self, other: &FunctionCall) -> bool
[src]
fn ne(&self, other: &FunctionCall) -> bool
[src]
impl Prefix<Expression, FunctionCall, FieldExpression, IndexExpression> for Prefix
[src]
fn from_name(name: String) -> Self
[src]
fn from_parenthese(expression: Expression) -> Self
[src]
fn from_call(call: FunctionCall) -> Self
[src]
fn from_field(field: FieldExpression) -> Self
[src]
fn from_index(index: IndexExpression) -> Self
[src]
impl StructuralEq for FunctionCall
[src]
impl StructuralPartialEq for FunctionCall
[src]
impl ToLua for FunctionCall
[src]
fn to_lua(&self, generator: &mut LuaGenerator)
[src]
fn to_lua_string(&self) -> String
[src]
impl TryInto<FunctionCall> for Prefix
[src]
Auto Trait Implementations
impl RefUnwindSafe for FunctionCall
impl Send for FunctionCall
impl Sync for FunctionCall
impl Unpin for FunctionCall
impl UnwindSafe for FunctionCall
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,