Struct darklua_core::nodes::NumericForStatement [−][src]
pub struct NumericForStatement { /* fields omitted */ }Implementations
impl NumericForStatement[src]
impl NumericForStatement[src]pub fn new<S: Into<String>>(
identifier: S,
start: Expression,
end: Expression,
step: Option<Expression>,
block: Block
) -> Self[src]
identifier: S,
start: Expression,
end: Expression,
step: Option<Expression>,
block: Block
) -> Self
pub fn get_block(&self) -> &Block[src]
pub fn mutate_block(&mut self) -> &mut Block[src]
pub fn get_start(&self) -> &Expression[src]
pub fn mutate_start(&mut self) -> &mut Expression[src]
pub fn get_end(&self) -> &Expression[src]
pub fn mutate_end(&mut self) -> &mut Expression[src]
pub fn get_step(&self) -> Option<&Expression>[src]
pub fn mutate_step(&mut self) -> &mut Option<Expression>[src]
pub fn get_identifier(&self) -> &String[src]
pub fn mutate_identifier(&mut self) -> &mut String[src]
pub fn set_identifier<S: Into<String>>(&mut self, identifier: S)[src]
Trait Implementations
impl Clone for NumericForStatement[src]
impl Clone for NumericForStatement[src]fn clone(&self) -> NumericForStatement[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for NumericForStatement[src]
impl Eq for NumericForStatement[src]impl From<(String, Expression, Expression, Option<Expression>, Block)> for NumericForStatement[src]
impl From<(String, Expression, Expression, Option<Expression>, Block)> for NumericForStatement[src]fn from(
(identifier, start, end, step, block): (String, Expression, Expression, Option<Expression>, Block)
) -> Self[src]
(identifier, start, end, step, block): (String, Expression, Expression, Option<Expression>, Block)
) -> Self
impl From<NumericForStatement> for Statement[src]
impl From<NumericForStatement> for Statement[src]fn from(numeric_for: NumericForStatement) -> Statement[src]
impl PartialEq<NumericForStatement> for NumericForStatement[src]
impl PartialEq<NumericForStatement> for NumericForStatement[src]fn eq(&self, other: &NumericForStatement) -> bool[src]
fn ne(&self, other: &NumericForStatement) -> bool[src]
impl StructuralEq for NumericForStatement[src]
impl StructuralEq for NumericForStatement[src]Auto Trait Implementations
impl RefUnwindSafe for NumericForStatement
impl RefUnwindSafe for NumericForStatementimpl Send for NumericForStatement
impl Send for NumericForStatementimpl Sync for NumericForStatement
impl Sync for NumericForStatementimpl Unpin for NumericForStatement
impl Unpin for NumericForStatementimpl UnwindSafe for NumericForStatement
impl UnwindSafe for NumericForStatement