Enum rustc_middle::thir::BlockSafety [−][src]
pub enum BlockSafety {
Safe,
BuiltinUnsafe,
ExplicitUnsafe(HirId),
}Variants
A compiler-generated unsafe block
ExplicitUnsafe(HirId)An unsafe block. The HirId is the ID of the block.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlockSafetyimpl Send for BlockSafetyimpl Sync for BlockSafetyimpl Unpin for BlockSafetyimpl UnwindSafe for BlockSafetyBlanket Implementations
Mutably borrows from an owned value. Read more
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: 8 bytes