[][src]Struct binjs_es6::ast::SwitchStatement

pub struct SwitchStatement {
    pub discriminant: Expression,
    pub cases: ListOfSwitchCase,
}

Implementation of interface SwitchStatement.

Fields

discriminant: Expressioncases: ListOfSwitchCase

Trait Implementations

impl Clone for SwitchStatement[src]

impl Debug for SwitchStatement[src]

impl Default for SwitchStatement[src]

impl<R> Deserialization<SwitchStatement> for Deserializer<R> where
    R: TokenReader
[src]

impl<'de> Deserialize<'de> for SwitchStatement[src]

impl<'a> From<&'a mut SwitchStatement> for ViewMutSwitchStatement<'a>[src]

impl From<SwitchStatement> for ExportDeclarationOrImportDeclarationOrStatement[src]

impl From<SwitchStatement> for Statement[src]

impl<R> InnerDeserialization<SwitchStatement> for Deserializer<R> where
    R: TokenReader
[src]

impl Node for SwitchStatement[src]

Make it possible to downcast/upcast between SwitchStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src]

The name of this node. Used mostly for debugging purposes.

impl PartialEq<SwitchStatement> for SwitchStatement[src]

impl<W> Serialization<SwitchStatement> for Serializer<W> where
    W: TokenWriter
[src]

impl Serialize for SwitchStatement[src]

impl StructuralPartialEq for SwitchStatement[src]

impl<'a> Walker<'a> for SwitchStatement[src]

type Output = SwitchStatement

Auto Trait Implementations

impl !RefUnwindSafe for SwitchStatement

impl !Send for SwitchStatement

impl !Sync for SwitchStatement

impl Unpin for SwitchStatement

impl UnwindSafe for SwitchStatement

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]