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.
Tuple Fields of Unsafe
0: Span
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BodyUnsafety
impl !Send for BodyUnsafety
impl !Sync for BodyUnsafety
impl Unpin for BodyUnsafety
impl UnwindSafe for BodyUnsafety
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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
Size for each variant:
Safe
: 0 bytesUnsafe
: 8 bytes