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

pub struct ForStatement {
    pub init: Option<ExpressionOrVariableDeclaration>,
    pub test: Option<Expression>,
    pub update: Option<Expression>,
    pub body: Statement,
}

Implementation of interface ForStatement.

Fields

init: Option<ExpressionOrVariableDeclaration>test: Option<Expression>update: Option<Expression>body: Statement

Trait Implementations

impl Clone for ForStatement[src]

impl Debug for ForStatement[src]

impl Default for ForStatement[src]

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

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

impl<'a> From<&'a mut ForStatement> for ViewMutForStatement<'a>[src]

impl From<ForStatement> for IterationStatement[src]

impl From<ForStatement> for ExportDeclarationOrImportDeclarationOrStatement[src]

impl From<ForStatement> for Statement[src]

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

impl Node for ForStatement[src]

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

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

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

impl PartialEq<ForStatement> for ForStatement[src]

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

impl Serialize for ForStatement[src]

impl StructuralPartialEq for ForStatement[src]

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

type Output = ForStatement

Auto Trait Implementations

impl !RefUnwindSafe for ForStatement

impl !Send for ForStatement

impl !Sync for ForStatement

impl Unpin for ForStatement

impl UnwindSafe for ForStatement

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]