Struct rustc_middle::thir::Block [−][src]
pub struct Block {
pub targeted_by_break: bool,
pub region_scope: Scope,
pub opt_destruction_scope: Option<Scope>,
pub span: Span,
pub stmts: Box<[StmtId]>,
pub expr: Option<ExprId>,
pub safety_mode: BlockSafety,
}Fields
targeted_by_break: boolregion_scope: Scopeopt_destruction_scope: Option<Scope>span: Spanstmts: Box<[StmtId]>expr: Option<ExprId>safety_mode: BlockSafetyTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Blockimpl UnwindSafe for BlockBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes