Re-exportsΒ§
use std::cmp;πuse std::fmt;πuse rustc_abi as abi;πuse rustc_abi as abi;πuse rustc_abi::AddressSpace;πuse rustc_abi::Align;πuse rustc_abi::ExternAbi;πuse rustc_abi::FieldIdx;πuse rustc_abi::FieldsShape;πuse rustc_abi::HasDataLayout;πuse rustc_abi::LayoutData;πuse rustc_abi::PointeeInfo;πuse rustc_abi::PointerKind;πuse rustc_abi::Primitive;πuse rustc_abi::ReprFlags;πuse rustc_abi::ReprOptions;πuse rustc_abi::Scalar;πuse rustc_abi::Size;πuse rustc_abi::TagEncoding;πuse rustc_abi::TargetDataLayout;πuse rustc_abi::TyAbiInterface;πuse rustc_abi::VariantIdx;πuse rustc_abi::Variants;πuse rustc_attr_ir::lang_items::LangItem;πuse rustc_errors::Diag;πuse rustc_errors::DiagArgValue;πuse rustc_errors::DiagCtxtHandle;πuse rustc_errors::Diagnostic;πuse rustc_errors::IntoDiagArg;πuse rustc_errors::Level;πuse rustc_hir as hir;πuse rustc_hir::def_id::DefId;πuse rustc_macros::StableHash;πuse rustc_macros::TyDecodable;πuse rustc_macros::TyEncodable;πuse rustc_macros::extension;πuse rustc_session::config::OptLevel;πuse rustc_span::DUMMY_SP;πuse rustc_span::ErrorGuaranteed;πuse rustc_span::Span;πuse rustc_span::Spanned;πuse rustc_span::Symbol;πuse rustc_span::bug;πuse rustc_span::span_bug;πuse rustc_span::sym;πuse rustc_structures::Limit;πuse rustc_target::callconv::FnAbi;πuse rustc_target::spec::HasTargetSpec;πuse rustc_target::spec::HasX86AbiOpt;πuse rustc_target::spec::Target;πuse rustc_target::spec::X86Abi;πuse tracing::debug;πuse crate::middle::codegen_fn_attrs::CodegenFnAttrFlags;πuse crate::query::TyCtxtAt;πuse crate::traits::ObligationCause;πuse crate::ty::normalize_erasing_regions::NormalizationError;πuse crate::ty;πuse crate::ty::CoroutineArgsExt;πuse crate::ty::Ty;πuse crate::ty::TyCtxt;πuse crate::ty::TypeVisitableExt;πuse crate::ty::Unnormalized;π
StructsΒ§
EnumsΒ§
- FnAbi
Error - Error produced by attempting to compute or adjust a
FnAbi. - FnAbi
Request - Layout
Error - Simd
Layout Error - Size
Skeleton - Type size βskeletonβ, i.e., the only information determining a typeβs size. While this is conservative, (aside from constant sizes, only pointers, newtypes thereof and null pointer optimized enums are allowed), it is enough to statically check common use cases of transmute.
- Validity
Requirement - Used in
check_validity_requirementto indicate the kind of initialization that is checked to be valid
ConstantsΒ§
- WIDE_
PTR_ ADDR - The first half of a wide pointer.
- WIDE_
PTR_ EXTRA - The second half of a wide pointer.
TraitsΒ§
- Float
Ext - FnAbiOf
- Blanket extension trait for contexts that can compute
FnAbis. - FnAbi
OfHelpers - Trait for contexts that want to be able to compute
FnAbis. This automatically gives access toFnAbiOf, through a blanketimpl. - HasTy
Ctxt - HasTyping
Env - Integer
Ext - Layout
Of - Blanket extension trait for contexts that can compute layouts of types.
- Layout
OfHelpers - Trait for contexts that want to be able to compute layouts of types.
This automatically gives access to
LayoutOf, through a blanketimpl. - Maybe
Result - Primitive
Ext
FunctionsΒ§
- codegen_
handle_ fn_ abi_ err - Implementation of
FnAbiOfHelpers::handle_fn_abi_errfor codegen backends. - fn_
can_ unwind - Calculates whether a functionβs ABI can unwind or not.