[][src]Struct binjs::specialized::es6::ast::SwitchCase

pub struct SwitchCase {
    pub test: Expression,
    pub consequent: Vec<Statement>,
}

Implementation of interface SwitchCase.

Fields

test: Expressionconsequent: Vec<Statement>

Trait Implementations

impl Clone for SwitchCase[src]

impl Debug for SwitchCase[src]

impl Default for SwitchCase[src]

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

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

impl<'a> From<&'a mut SwitchCase> for ViewMutSwitchCase<'a>[src]

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

impl Node for SwitchCase[src]

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

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

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

impl PartialEq<SwitchCase> for SwitchCase[src]

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

impl Serialize for SwitchCase[src]

impl StructuralPartialEq for SwitchCase[src]

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

type Output = SwitchCase

Auto Trait Implementations

impl !RefUnwindSafe for SwitchCase

impl !Send for SwitchCase

impl !Sync for SwitchCase

impl Unpin for SwitchCase

impl UnwindSafe for SwitchCase

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]