Enum rustc_hir::hir::BodyOwnerKind [−][src]
pub enum BodyOwnerKind {
Fn,
Closure,
Const,
Static(Mutability),
}
Variants
Functions and methods.
Closures
Constants and associated constants.
Static(Mutability)
Initializer of a static
item.
Tuple Fields of Static
0: Mutability
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