Enum rustc_resolve::ty::AdtKind [−][src]
pub enum AdtKind {
Struct,
Union,
Enum,
}Variants
Struct
Union
Enum
Auto Trait Implementations
impl RefUnwindSafe for AdtKind
impl UnwindSafe for AdtKind
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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:
Struct: 0 bytesUnion: 0 bytesEnum: 0 bytes