pub enum LoopInit {
Variable(Vec<VariableDecl>),
Expr(Expression),
}
Expand description
The left most triple of a for loops parenthetical
// vvvvvvvvv
for (var i = 0;i < 100; i++)
Variants
Variable(Vec<VariableDecl>)
Expr(Expression)
Trait Implementations
impl StructuralPartialEq for LoopInit
Auto Trait Implementations
impl RefUnwindSafe for LoopInit
impl Send for LoopInit
impl Sync for LoopInit
impl Unpin for LoopInit
impl UnwindSafe for LoopInit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more