Skip to main content

Module adt

Module adt 

Source

Re-exportsยง

use std::cell::RefCell; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hasher; ๐Ÿ”’
use std::ops::Range; ๐Ÿ”’
use std::str; ๐Ÿ”’
use rustc_abi::FIRST_VARIANT; ๐Ÿ”’
use rustc_abi::FieldIdx; ๐Ÿ”’
use rustc_abi::ReprOptions; ๐Ÿ”’
use rustc_abi::VariantIdx; ๐Ÿ”’
use rustc_attr_ir::find_attr; ๐Ÿ”’
use rustc_attr_ir::lang_items::LangItem; ๐Ÿ”’
use rustc_data_structures::fingerprint::Fingerprint; ๐Ÿ”’
use rustc_data_structures::fx::FxHashMap; ๐Ÿ”’
use rustc_data_structures::intern::Interned; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHash; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHashControls; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHashCtxt; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHasher; ๐Ÿ”’
use rustc_errors::ErrorGuaranteed; ๐Ÿ”’
use rustc_hir as hir; ๐Ÿ”’
use rustc_hir::def::CtorKind; ๐Ÿ”’
use rustc_hir::def::DefKind; ๐Ÿ”’
use rustc_hir::def::Res; ๐Ÿ”’
use rustc_hir::def_id::DefId; ๐Ÿ”’
use rustc_index::IndexSlice; ๐Ÿ”’
use rustc_index::IndexVec; ๐Ÿ”’
use rustc_macros::StableHash; ๐Ÿ”’
use rustc_macros::TyDecodable; ๐Ÿ”’
use rustc_macros::TyEncodable; ๐Ÿ”’
use rustc_session::DataTypeKind; ๐Ÿ”’
use rustc_span::bug; ๐Ÿ”’
use rustc_span::sym; ๐Ÿ”’
use rustc_type_ir::FieldInfo; ๐Ÿ”’
use rustc_type_ir::solve::AdtDestructorKind; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use tracing::info; ๐Ÿ”’
use tracing::trace; ๐Ÿ”’
use super::AsyncDestructor; ๐Ÿ”’
use super::Destructor; ๐Ÿ”’
use super::FieldDef; ๐Ÿ”’
use super::GenericClauses; ๐Ÿ”’
use super::Ty; ๐Ÿ”’
use super::TyCtxt; ๐Ÿ”’
use super::VariantDef; ๐Ÿ”’
use super::VariantDiscr; ๐Ÿ”’
use crate::mir::interpret::ErrorHandled; ๐Ÿ”’
use crate::ty::util::Discr; ๐Ÿ”’
use crate::ty::util::IntTypeExt; ๐Ÿ”’
use crate::ty; ๐Ÿ”’
use crate::ty::ConstKind; ๐Ÿ”’

Structsยง

AdtDef
AdtDefData
The definition of a user-defined type, e.g., a struct, enum, or union.
AdtFlags

Enumsยง

AdtKind