ContainerTy in rustdoc::clean - Rust (original) (raw)
pub(crate) enum ContainerTy<'a, 'tcx> {
Ref(Region<'tcx>),
Regular {
ty: DefId,
args: Binder<'tcx, &'a [GenericArg<'tcx>]>,
arg: usize,
},
}
Fields
The arguments have to contain an arg for the self type if the corresponding generics contain a self type.
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: 40 bytes
Size for each variant:
Ref
: 16 bytesRegular
: 40 bytes