Struct syn::ExprUnsafe
source · [−]Expand description
An unsafe block: unsafe { ... }
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
unsafe_token: Unsafe
block: Block
Trait Implementations
sourceimpl From<ExprUnsafe> for Expr
impl From<ExprUnsafe> for Expr
sourcefn from(e: ExprUnsafe) -> Expr
fn from(e: ExprUnsafe) -> Expr
Performs the conversion.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more