[][src]Enum resast::stmt::LoopInit

pub enum LoopInit<'a> {
    Variable(VarKindVec<VarDecl<'a>>),
    Expr(Expr<'a>),
}

The left most triple of a for loops parenthetical

 //  vvvvvvvvv
for (var i = 0;i < 100; i++)

Variants

Variable(VarKindVec<VarDecl<'a>>)
Expr(Expr<'a>)

Trait Implementations

impl<'a> Clone for LoopInit<'a>[src]

impl<'a> Debug for LoopInit<'a>[src]

impl<'a> PartialEq<LoopInit<'a>> for LoopInit<'a>[src]

impl<'a> StructuralPartialEq for LoopInit<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for LoopInit<'a>

impl<'a> Send for LoopInit<'a>

impl<'a> Sync for LoopInit<'a>

impl<'a> Unpin for LoopInit<'a>

impl<'a> UnwindSafe for LoopInit<'a>

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.