[][src]Struct parser::ast::IF

pub struct IF {
    pub condition: Box<Expression>,
    pub consequent: BlockStatement,
    pub alternate: Option<BlockStatement>,
    pub span: Span,
}

Fields

condition: Box<Expression>consequent: BlockStatementalternate: Option<BlockStatement>span: Span

Trait Implementations

impl Clone for IF[src]

impl Debug for IF[src]

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

impl Eq for IF[src]

impl Hash for IF[src]

impl PartialEq<IF> for IF[src]

impl Serialize for IF[src]

impl StructuralEq for IF[src]

impl StructuralPartialEq for IF[src]

Auto Trait Implementations

impl RefUnwindSafe for IF[src]

impl Send for IF[src]

impl Sync for IF[src]

impl Unpin for IF[src]

impl UnwindSafe for IF[src]

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: for<'de> Deserialize<'de>, 
[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.