Enum rustc_middle::thir::BlockSafety [−][src]
pub enum BlockSafety {
Safe,
BuiltinUnsafe,
ExplicitUnsafe(HirId),
}Variants
A compiler-generated unsafe block
An unsafe block. The HirId is the ID of the block.
Tuple Fields of ExplicitUnsafe
0: HirIdTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlockSafety
impl Send for BlockSafety
impl Sync for BlockSafety
impl Unpin for BlockSafety
impl UnwindSafe for BlockSafety
Blanket 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