HasData
Layout
rustc_
target
1.85.0
(4d91de4e4 2025-02-17)
HasData
Layout
Required Methods
data_layout
Implementors
In rustc_
target::
abi
Structs
AbiAndPrefAlign
AddressSpace
Align
FieldIdx
Heterogeneous
Layout
LayoutCalculator
LayoutData
Niche
PointeeInfo
Reg
ReprFlags
ReprOptions
Size
TargetDataLayout
TyAndLayout
VariantIdx
WrappingRange
Enums
AbiDisabled
AbiUnsupported
AlignFromBytesError
BackendRepr
Endian
ExternAbi
FieldsShape
Float
HomogeneousAggregate
Integer
IntegerType
LayoutCalculatorError
PointerKind
Primitive
RegKind
Scalar
StructKind
TagEncoding
TargetDataLayoutErrors
Variants
Constants
FIRST_VARIANT
Traits
HasDataLayout
HashStableContext
TyAbiInterface
Functions
all_names
enabled_names
is_enabled
is_stable
lookup
rustc_target
::
abi
Trait
HasDataLayout
Copy item path
Settings
Help
Summary
Source
pub trait HasDataLayout { // Required method fn
data_layout
(&self) -> &
TargetDataLayout
; }
Required Methods
§
Source
fn
data_layout
(&self) -> &
TargetDataLayout
Implementors
§
Source
§
impl
HasDataLayout
for &
TargetDataLayout
Source
§
impl
HasDataLayout
for
TargetDataLayout
impl
HasDataLayout
for
Builder
<'_, '_, '_>
impl
HasDataLayout
for
CodegenCx
<'_, '_>
impl<'tcx, M:
Machine
<'tcx>>
HasDataLayout
for
InterpCx
<'tcx, M>
impl<'tcx>
HasDataLayout
for
LateContext
<'tcx>
impl<'tcx>
HasDataLayout
for
TyCtxtAt
<'tcx>
impl<'tcx>
HasDataLayout
for
LayoutCx
<'tcx>
impl<'tcx>
HasDataLayout
for
TyCtxt
<'tcx>
impl
HasDataLayout
for
ConstPropagator
<'_, '_>
impl<'tcx>
HasDataLayout
for
UnwrapLayoutCx
<'tcx>
impl<'tcx>
HasDataLayout
for
Tables
<'tcx>