Struct devise::syn::ExprUnsafe
source · pub struct ExprUnsafe {
pub attrs: Vec<Attribute, Global>,
pub unsafe_token: Unsafe,
pub block: Block,
}
Expand description
An unsafe block: unsafe { ... }
.
This type is available if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute, Global>
§unsafe_token: Unsafe
§block: Block
Trait Implementations§
source§impl Clone for ExprUnsafe
impl Clone for ExprUnsafe
source§fn clone(&self) -> ExprUnsafe
fn clone(&self) -> ExprUnsafe
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExprUnsafe
impl Debug for ExprUnsafe
source§impl From<ExprUnsafe> for Expr
impl From<ExprUnsafe> for Expr
source§fn from(e: ExprUnsafe) -> Expr
fn from(e: ExprUnsafe) -> Expr
Converts to this type from the input type.