rustc_
middle
1.86.0-beta.5
(b2af9a598 2025-03-08)
In rustc_
middle::
ty::
layout
Structs
LayoutCx
Enums
FnAbiError
FnAbiRequest
LayoutError
SizeSkeleton
ValidityRequirement
Constants
MAX_SIMD_LANES
WIDE_PTR_ADDR
WIDE_PTR_EXTRA
Traits
FloatExt
FnAbiOf
FnAbiOfHelpers
HasTyCtxt
HasTypingEnv
IntegerExt
LayoutOf
LayoutOfHelpers
MaybeResult
PrimitiveExt
Functions
fn_can_unwind
Type Aliases
TyAndLayout
rustc_middle
::
ty
::
layout
Constant
WIDE_PTR_EXTRA
Copy item path
Settings
Help
Summary
Source
pub const WIDE_PTR_EXTRA:
usize
= 1;
Expand description
The second half of a wide pointer.
For a trait object, this is the address of the vtable.
For a slice, this is the length.