pub struct BlockStmt {
pub span: Span,
pub statements: Vec<Stmt>,
}Expand description
One compound block.
Fields§
§span: SpanSource span covering the block braces and contents.
statements: Vec<Stmt>Statements inside the block.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockStmt
impl<'de> Deserialize<'de> for BlockStmt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BlockStmt
Auto Trait Implementations§
impl Freeze for BlockStmt
impl RefUnwindSafe for BlockStmt
impl Send for BlockStmt
impl Sync for BlockStmt
impl Unpin for BlockStmt
impl UnsafeUnpin for BlockStmt
impl UnwindSafe for BlockStmt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more