Struct ra_ap_syntax::ast::BlockExpr [−][src]
pub struct BlockExpr { /* fields omitted */ }
Implementations
false if the block is an intrinsic part of the syntax and can’t be replaced with arbitrary expression.
fn foo() { not_stand_alone }
const FOO: () = { stand_alone };
Trait Implementations
fn attrs(&self) -> AstChildren<Attr>ⓘNotable traits for AstChildren<N>impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Auto Trait Implementations
impl !RefUnwindSafe for BlockExpr
impl !UnwindSafe for BlockExpr
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.