Enum rustc_hir::hir::BodyOwnerKind [−][src]
pub enum BodyOwnerKind {
Fn,
Closure,
Const,
Static(Mutability),
}Variants
Fn
Functions and methods.
Closure
Closures
Const
Constants and associated constants.
Static(Mutability)
Tuple Fields
0: MutabilityInitializer of a static item.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BodyOwnerKind
impl Send for BodyOwnerKind
impl Sync for BodyOwnerKind
impl Unpin for BodyOwnerKind
impl UnwindSafe for BodyOwnerKind
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: 1 byte
Size for each variant:
Fn: 0 bytesClosure: 0 bytesConst: 0 bytesStatic: 1 byte
