[][src]Struct darklua_core::nodes::NumericForStatement

pub struct NumericForStatement { /* fields omitted */ }

Methods

impl NumericForStatement[src]

pub fn new(
    identifier: String,
    start: Expression,
    end: Expression,
    step: Option<Expression>,
    block: Block
) -> Self
[src]

pub fn get_block(&self) -> &Block[src]

pub fn mutate_block(&mut self) -> &mut Block[src]

pub fn mutate_start(&mut self) -> &mut Expression[src]

pub fn mutate_end(&mut self) -> &mut Expression[src]

pub fn mutate_step(&mut self) -> &mut Option<Expression>[src]

pub fn get_identifier(&self) -> &String[src]

pub fn set_identifier<S: Into<String>>(&mut self, identifier: S)[src]

Trait Implementations

impl Clone for NumericForStatement[src]

impl Debug for NumericForStatement[src]

impl Eq for NumericForStatement[src]

impl From<(String, Expression, Expression, Option<Expression>, Block)> for NumericForStatement[src]

impl From<NumericForStatement> for Statement[src]

impl PartialEq<NumericForStatement> for NumericForStatement[src]

impl StructuralEq for NumericForStatement[src]

impl StructuralPartialEq for NumericForStatement[src]

impl ToLua for NumericForStatement[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.