Struct swc_ecma_ast::ForStmt
source · [−]pub struct ForStmt {
pub span: Span,
pub init: Option<VarDeclOrExpr>,
pub test: Option<Box<Expr>>,
pub update: Option<Box<Expr>>,
pub body: Box<Stmt>,
}
Fields
span: Span
init: Option<VarDeclOrExpr>
test: Option<Box<Expr>>
update: Option<Box<Expr>>
body: Box<Stmt>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ForStmt
impl<'de> Deserialize<'de> for ForStmt
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for ForStmt
impl EqIgnoreSpan for ForStmt
fn eq_ignore_span(&self, other: &Self) -> bool
impl Eq for ForStmt
impl StructuralEq for ForStmt
impl StructuralPartialEq for ForStmt
Auto Trait Implementations
impl RefUnwindSafe for ForStmt
impl Send for ForStmt
impl Sync for ForStmt
impl Unpin for ForStmt
impl UnwindSafe for ForStmt
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