Struct swc_ecma_ast::BlockStmt
source · [−]Expand description
Use when only block statements are allowed.
Fields
span: Span
Span including the braces.
stmts: Vec<Stmt>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for BlockStmt
impl<'de> Deserialize<'de> for BlockStmt
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 BlockStmt
impl EqIgnoreSpan for BlockStmt
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<BlockStmt> for BlockStmtOrExpr
impl From<BlockStmt> for BlockStmtOrExpr
impl Eq for BlockStmt
impl StructuralEq for BlockStmt
impl StructuralPartialEq for BlockStmt
Auto Trait Implementations
impl RefUnwindSafe for BlockStmt
impl Send for BlockStmt
impl Sync for BlockStmt
impl Unpin for BlockStmt
impl UnwindSafe for BlockStmt
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