[][src]Struct syn::ExprBox

pub struct ExprBox {
    pub attrs: Vec<Attribute>,
    pub box_token: Box,
    pub expr: Box<Expr>,

A box expression: box f.

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


attrs: Vec<Attribute>box_token: Boxexpr: Box<Expr>

Trait Implementations

impl Parse for ExprBox[src]

impl From<ExprBox> for Expr[src]

impl Clone for ExprBox[src]

impl Eq for ExprBox[src]

impl PartialEq<ExprBox> for ExprBox[src]

impl Debug for ExprBox[src]

impl Hash for ExprBox[src]

impl StructuralPartialEq for ExprBox[src]

impl StructuralEq for ExprBox[src]

impl ToTokens for ExprBox[src]

Auto Trait Implementations

impl !Send for ExprBox

impl !Sync for ExprBox

impl Unpin for ExprBox

impl UnwindSafe for ExprBox

impl !RefUnwindSafe for ExprBox

Blanket Implementations

impl<T> Spanned for T where
    T: Spanned + ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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