Enum rustc_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.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BodyOwnerKindimpl Send for BodyOwnerKindimpl Sync for BodyOwnerKindimpl Unpin for BodyOwnerKindimpl UnwindSafe for BodyOwnerKindBlanket 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: 1 byte