[][src]Struct haru::ast::ast::ForStatement

pub struct ForStatement {
    pub _span: Span,
    pub id: String,
    pub from: Box<dyn AST>,
    pub to: Box<dyn AST>,
    pub step: Box<dyn AST>,
    pub stmt: Box<dyn AST>,
    pub is_up: bool,
}

For statements

Fields

_span: Spanid: Stringfrom: Box<dyn AST>to: Box<dyn AST>step: Box<dyn AST>stmt: Box<dyn AST>is_up: bool

Trait Implementations

impl AST for ForStatement[src]

impl Debug for ForStatement[src]

Auto Trait Implementations

impl !Send for ForStatement

impl !Sync for ForStatement

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]