pub struct ForStatement<'tree> {
pub span: Span,
pub body: Statement<'tree>,
pub condition: Option<Expression<'tree>>,
pub init: Vec<ForStatementInit<'tree>>,
pub update: Vec<Expression<'tree>>,
}Fields§
§span: Span§body: Statement<'tree>§condition: Option<Expression<'tree>>§init: Vec<ForStatementInit<'tree>>§update: Vec<Expression<'tree>>Trait Implementations§
Source§impl<'tree> Clone for ForStatement<'tree>
impl<'tree> Clone for ForStatement<'tree>
Source§fn clone(&self) -> ForStatement<'tree>
fn clone(&self) -> ForStatement<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for ForStatement<'tree>
impl<'tree> Debug for ForStatement<'tree>
Source§impl<'tree> FromNode<'tree> for ForStatement<'tree>
impl<'tree> FromNode<'tree> for ForStatement<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ForStatement<'tree>
impl<'tree> RefUnwindSafe for ForStatement<'tree>
impl<'tree> Send for ForStatement<'tree>
impl<'tree> Sync for ForStatement<'tree>
impl<'tree> Unpin for ForStatement<'tree>
impl<'tree> UnsafeUnpin for ForStatement<'tree>
impl<'tree> UnwindSafe for ForStatement<'tree>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more