Enum rustdoc::clean::types::ItemId [−][src]
pub(crate) enum ItemId {
DefId(DefId),
Auto {
trait_: DefId,
for_: DefId,
},
Blanket {
impl_id: DefId,
for_: DefId,
},
Primitive(PrimitiveType, CrateNum),
}Variants
DefId(DefId)A “normal” item that uses a DefId for identification.
Identifier that is used for auto traits.
Identifier that is used for blanket implementations.
Primitive(PrimitiveType, CrateNum)Identifier for primitive types.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ItemIdimpl UnwindSafe for ItemIdBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> VLayout
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: 20 bytes