[−][src]Struct darklua_core::nodes::FunctionExpression
Methods
impl FunctionExpression[src]
pub fn new(block: Block, parameters: Vec<String>, is_variadic: bool) -> Self[src]
pub fn append_parameter(self, parameter: String) -> Self[src]
pub fn set_variadic(self, is_variadic: bool) -> Self[src]
pub fn mutate_block(&mut self) -> &mut Block[src]
pub fn mutate_parameters(&mut self) -> &mut Vec<String>[src]
Trait Implementations
impl Clone for FunctionExpression[src]
fn clone(&self) -> FunctionExpression[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FunctionExpression[src]
impl Default for FunctionExpression[src]
impl Eq for FunctionExpression[src]
impl From<(Vec<String>, bool, Block)> for FunctionExpression[src]
impl From<FunctionExpression> for Expression[src]
fn from(function: FunctionExpression) -> Self[src]
impl PartialEq<FunctionExpression> for FunctionExpression[src]
fn eq(&self, other: &FunctionExpression) -> bool[src]
fn ne(&self, other: &FunctionExpression) -> bool[src]
impl StructuralEq for FunctionExpression[src]
impl StructuralPartialEq for FunctionExpression[src]
impl ToLua for FunctionExpression[src]
fn to_lua(&self, generator: &mut LuaGenerator)[src]
fn to_lua_string(&self) -> String[src]
Auto Trait Implementations
impl RefUnwindSafe for FunctionExpression
impl Send for FunctionExpression
impl Sync for FunctionExpression
impl Unpin for FunctionExpression
impl UnwindSafe for FunctionExpression
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>,