[][src]Enum binjs::specialized::es6::ast::ViewMutExportDeclarationOrImportDeclarationOrStatement

pub enum ViewMutExportDeclarationOrImportDeclarationOrStatement<'a> {
    TryFinallyStatement(&'a mut TryFinallyStatement),
    EagerFunctionDeclaration(&'a mut EagerFunctionDeclaration),
    VariableDeclaration(&'a mut VariableDeclaration),
    DoWhileStatement(&'a mut DoWhileStatement),
    WhileStatement(&'a mut WhileStatement),
    WithStatement(&'a mut WithStatement),
    LazyFunctionDeclaration(&'a mut LazyFunctionDeclaration),
    Block(&'a mut Block),
    ContinueStatement(&'a mut ContinueStatement),
    ForStatement(&'a mut ForStatement),
    BreakStatement(&'a mut BreakStatement),
    ForOfStatement(&'a mut ForOfStatement),
    SwitchStatementWithDefault(&'a mut SwitchStatementWithDefault),
    ThrowStatement(&'a mut ThrowStatement),
    ExpressionStatement(&'a mut ExpressionStatement),
    ExportAllFrom(&'a mut ExportAllFrom),
    ExportFrom(&'a mut ExportFrom),
    LabelledStatement(&'a mut LabelledStatement),
    ExportLocals(&'a mut ExportLocals),
    ExportDefault(&'a mut ExportDefault),
    Export(&'a mut Export),
    IfStatement(&'a mut IfStatement),
    DebuggerStatement(&'a mut DebuggerStatement),
    EmptyStatement(&'a mut EmptyStatement),
    SwitchStatement(&'a mut SwitchStatement),
    Import(&'a mut Import),
    ClassDeclaration(&'a mut ClassDeclaration),
    TryCatchStatement(&'a mut TryCatchStatement),
    ReturnStatement(&'a mut ReturnStatement),
    ImportNamespace(&'a mut ImportNamespace),
    ForInStatement(&'a mut ForInStatement),
}

A mechanism to view value as an instance of interface sum ExportDeclarationOrImportDeclarationOrStatement

Used to perform shallow cast between larger sums and smaller sums.

Variants

TryFinallyStatement(&'a mut TryFinallyStatement)
EagerFunctionDeclaration(&'a mut EagerFunctionDeclaration)
VariableDeclaration(&'a mut VariableDeclaration)
DoWhileStatement(&'a mut DoWhileStatement)
WhileStatement(&'a mut WhileStatement)
WithStatement(&'a mut WithStatement)
LazyFunctionDeclaration(&'a mut LazyFunctionDeclaration)
Block(&'a mut Block)
ContinueStatement(&'a mut ContinueStatement)
ForStatement(&'a mut ForStatement)
BreakStatement(&'a mut BreakStatement)
ForOfStatement(&'a mut ForOfStatement)
SwitchStatementWithDefault(&'a mut SwitchStatementWithDefault)
ThrowStatement(&'a mut ThrowStatement)
ExpressionStatement(&'a mut ExpressionStatement)
ExportAllFrom(&'a mut ExportAllFrom)
ExportFrom(&'a mut ExportFrom)
LabelledStatement(&'a mut LabelledStatement)
ExportLocals(&'a mut ExportLocals)
ExportDefault(&'a mut ExportDefault)
Export(&'a mut Export)
IfStatement(&'a mut IfStatement)
DebuggerStatement(&'a mut DebuggerStatement)
EmptyStatement(&'a mut EmptyStatement)
SwitchStatement(&'a mut SwitchStatement)
Import(&'a mut Import)
ClassDeclaration(&'a mut ClassDeclaration)
TryCatchStatement(&'a mut TryCatchStatement)
ReturnStatement(&'a mut ReturnStatement)
ImportNamespace(&'a mut ImportNamespace)
ForInStatement(&'a mut ForInStatement)

Methods

impl<'a> ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>[src]

pub fn steal(&mut self) -> ExportDeclarationOrImportDeclarationOrStatement[src]

Convert a ViewMutExportDeclarationOrImportDeclarationOrStatement back into a ExportDeclarationOrImportDeclarationOrStatement, stealing the contents of the sum.

Trait Implementations

impl<'a> Debug for ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>[src]

impl<'a> From<&'a mut ExportDeclarationOrImportDeclarationOrStatement> for ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>[src]

impl<'a> Walker<'a> for ViewMutExportDeclarationOrImportDeclarationOrStatement<'a> where
    ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>: 'a, 
[src]

type Output = ExportDeclarationOrImportDeclarationOrStatement

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>

impl<'a> !Send for ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>

impl<'a> !Sync for ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>

impl<'a> Unpin for ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>

impl<'a> !UnwindSafe for ViewMutExportDeclarationOrImportDeclarationOrStatement<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]