Struct darklua_core::nodes::LocalFunctionStatement [−][src]
pub struct LocalFunctionStatement { /* fields omitted */ }Implementations
impl LocalFunctionStatement[src]
impl LocalFunctionStatement[src]pub fn new(
identifier: String,
block: Block,
parameters: Vec<String>,
is_variadic: bool
) -> Self[src]
identifier: String,
block: Block,
parameters: Vec<String>,
is_variadic: bool
) -> Self
pub fn from_name<S: Into<String>>(identifier: S, block: Block) -> Self[src]
pub fn with_parameter<S: Into<String>>(self, parameter: S) -> Self[src]
pub fn variadic(self) -> Self[src]
pub fn mutate_parameters(&mut self) -> &mut Vec<String>[src]
pub fn mutate_block(&mut self) -> &mut Block[src]
pub fn mutate_identifier(&mut self) -> &mut String[src]
pub fn get_block(&self) -> &Block[src]
pub fn get_parameters(&self) -> &Vec<String>[src]
pub fn get_name(&self) -> &str[src]
pub fn has_parameter(&self, name: &str) -> bool[src]
pub fn is_variadic(&self) -> bool[src]
Trait Implementations
impl Clone for LocalFunctionStatement[src]
impl Clone for LocalFunctionStatement[src]fn clone(&self) -> LocalFunctionStatement[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for LocalFunctionStatement[src]
impl Eq for LocalFunctionStatement[src]impl From<LocalFunctionStatement> for Statement[src]
impl From<LocalFunctionStatement> for Statement[src]fn from(function: LocalFunctionStatement) -> Statement[src]
impl PartialEq<LocalFunctionStatement> for LocalFunctionStatement[src]
impl PartialEq<LocalFunctionStatement> for LocalFunctionStatement[src]fn eq(&self, other: &LocalFunctionStatement) -> bool[src]
fn ne(&self, other: &LocalFunctionStatement) -> bool[src]
impl StructuralEq for LocalFunctionStatement[src]
impl StructuralEq for LocalFunctionStatement[src]Auto Trait Implementations
impl RefUnwindSafe for LocalFunctionStatement
impl RefUnwindSafe for LocalFunctionStatementimpl Send for LocalFunctionStatement
impl Send for LocalFunctionStatementimpl Sync for LocalFunctionStatement
impl Sync for LocalFunctionStatementimpl Unpin for LocalFunctionStatement
impl Unpin for LocalFunctionStatementimpl UnwindSafe for LocalFunctionStatement
impl UnwindSafe for LocalFunctionStatement