[][src]Struct syn::ExprUnsafe

pub struct ExprUnsafe {
    pub attrs: Vec<Attribute>,
    pub unsafe_token: Unsafe,
    pub block: Block,

An unsafe block: unsafe { ... }.

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


attrs: Vec<Attribute>unsafe_token: Unsafeblock: Block

Trait Implementations

impl Clone for ExprUnsafe[src]

impl Debug for ExprUnsafe[src]

impl Eq for ExprUnsafe[src]

impl From<ExprUnsafe> for Expr[src]

impl Hash for ExprUnsafe[src]

impl Parse for ExprUnsafe[src]

impl PartialEq<ExprUnsafe> for ExprUnsafe[src]

impl StructuralEq for ExprUnsafe[src]

impl StructuralPartialEq for ExprUnsafe[src]

impl ToTokens for ExprUnsafe[src]

Auto Trait Implementations

impl !RefUnwindSafe for ExprUnsafe

impl !Send for ExprUnsafe

impl !Sync for ExprUnsafe

impl Unpin for ExprUnsafe

impl UnwindSafe for ExprUnsafe

Blanket Implementations

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

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

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

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

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

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

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 = Infallible

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.