Enum rustc_hir::definitions::DefPathData [−][src]
pub enum DefPathData {
CrateRoot,
Misc,
Impl,
TypeNs(Symbol),
ValueNs(Symbol),
MacroNs(Symbol),
LifetimeNs(Symbol),
ClosureExpr,
Ctor,
AnonConst,
ImplTrait,
}Variants
The crate root (marker).
An impl.
TypeNs(Symbol)Something in the type namespace.
ValueNs(Symbol)Something in the value namespace.
MacroNs(Symbol)Something in the macro namespace.
LifetimeNs(Symbol)Something in the lifetime namespace.
A closure expression.
Implicit constructor for a unit or tuple-like struct or enum variant.
A constant expression (see {ast,hir}::AnonConst).
An impl Trait type node.
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DefPathDataimpl Send for DefPathDataimpl Sync for DefPathDataimpl Unpin for DefPathDataimpl UnwindSafe for DefPathDataBlanket 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: 8 bytes