[][src]Struct boa::syntax::ast::node::switch::Case

pub struct Case { /* fields omitted */ }

Implementations

impl Case[src]

pub fn condition(&self) -> &Node[src]

pub fn body(&self) -> &StatementList[src]

pub fn new<C, B>(condition: C, body: B) -> Self where
    C: Into<Node>,
    B: Into<StatementList>, 
[src]

Creates a Case AST node.

Trait Implementations

impl Clone for Case[src]

impl Debug for Case[src]

impl Drop for Case[src]

impl Finalize for Case[src]

impl PartialEq<Case> for Case[src]

impl StructuralPartialEq for Case[src]

impl Trace for Case[src]

Auto Trait Implementations

impl RefUnwindSafe for Case

impl Send for Case

impl Sync for Case

impl Unpin for Case

impl UnwindSafe for Case

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> 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>,