pub trait StmtOrModuleItem: Send + Sync {
    fn into_stmt(self) -> Result<Stmt, ModuleDecl>;
    fn as_stmt(&self) -> Result<&Stmt, &ModuleDecl>;
}

Required Methods

Implementations on Foreign Types

Implementors