Enum rustc_mir_build::check_unsafety::BodyUnsafety [−][src]
enum BodyUnsafety {
Safe,
Unsafe(Span),
}Variants
The body is not unsafe.
Unsafe(Span)The body is an unsafe function. The span points to the signature of the function.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BodyUnsafetyimpl !Send for BodyUnsafetyimpl !Sync for BodyUnsafetyimpl Unpin for BodyUnsafetyimpl UnwindSafe for BodyUnsafetyBlanket 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: 12 bytes