[][src]Struct dyon::ast::ForIn

pub struct ForIn {
    pub name: Arc<String>,
    pub iter: Expression,
    pub block: Block,
    pub label: Option<Arc<String>>,
    pub source_range: Range,
}

For-In expression.

Fields

name: Arc<String>

Name of the loop variable.

iter: Expression

The in-type expression to read from.

block: Block

Block expression.

label: Option<Arc<String>>

Loop label.

source_range: Range

The range in source.

Implementations

impl ForIn[src]

pub fn from_meta_data(
    file: &Arc<String>,
    source: &Arc<String>,
    node: &str,
    convert: Convert,
    ignored: &mut Vec<Range>
) -> Result<(Range, ForIn), ()>
[src]

Creates For-In expression from meta data.

Trait Implementations

impl Clone for ForIn[src]

impl Debug for ForIn[src]

Auto Trait Implementations

impl !RefUnwindSafe for ForIn

impl Send for ForIn

impl Sync for ForIn

impl Unpin for ForIn

impl !UnwindSafe for ForIn

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err