[][src]Struct binjs_es6::ast::IfStatement

pub struct IfStatement {
    pub test: Expression,
    pub consequent: Statement,
    pub alternate: OptionalStatement,
}

Implementation of interface IfStatement.

Fields

test: Expressionconsequent: Statementalternate: OptionalStatement

Trait Implementations

impl Clone for IfStatement[src]

impl Debug for IfStatement[src]

impl Default for IfStatement[src]

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

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

impl<'a> From<&'a mut IfStatement> for ViewMutIfStatement<'a>[src]

impl From<IfStatement> for ExportDeclarationOrImportDeclarationOrStatement[src]

impl From<IfStatement> for Statement[src]

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

impl Node for IfStatement[src]

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

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

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

impl PartialEq<IfStatement> for IfStatement[src]

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

impl Serialize for IfStatement[src]

impl StructuralPartialEq for IfStatement[src]

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

type Output = IfStatement

Auto Trait Implementations

impl !RefUnwindSafe for IfStatement

impl !Send for IfStatement

impl !Sync for IfStatement

impl Unpin for IfStatement

impl UnwindSafe for IfStatement

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]