[][src]Struct darklua_core::nodes::LocalAssignStatement

pub struct LocalAssignStatement { /* fields omitted */ }

Methods

impl LocalAssignStatement[src]

pub fn new(variables: Vec<String>, values: Vec<Expression>) -> Self[src]

pub fn from_variable<S: Into<String>>(variable: S) -> Self[src]

pub fn with_variable<S: Into<String>>(self, variable: S) -> Self[src]

pub fn with_value(self, value: Expression) -> Self[src]

pub fn get_variables(&self) -> &Vec<String>[src]

pub fn mutate_variables(&mut self) -> &mut Vec<String>[src]

pub fn mutate_values(&mut self) -> &mut Vec<Expression>[src]

Trait Implementations

impl Clone for LocalAssignStatement[src]

impl Debug for LocalAssignStatement[src]

impl Eq for LocalAssignStatement[src]

impl From<(Vec<String>, Vec<Expression>)> for LocalAssignStatement[src]

impl From<LocalAssignStatement> for Statement[src]

impl PartialEq<LocalAssignStatement> for LocalAssignStatement[src]

impl StructuralEq for LocalAssignStatement[src]

impl StructuralPartialEq for LocalAssignStatement[src]

impl ToLua for LocalAssignStatement[src]

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.