[][src]Struct syn::ExprIf

pub struct ExprIf { /* fields omitted */ }

An if expression with an optional else block: if expr { ... } else { ... }.

The else branch expression may only be an If or Block expression, not any of the other types of expression.

This type is available if Syn is built with the "full" feature.

Trait Implementations

impl PartialEq<ExprIf> for ExprIf
[src]

impl Clone for ExprIf
[src]

Performs copy-assignment from source. Read more

impl From<ExprIf> for Expr
[src]

impl Eq for ExprIf
[src]

impl Hash for ExprIf
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ExprIf
[src]

Auto Trait Implementations

impl Send for ExprIf

impl Sync for ExprIf

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.