Constant rustc_middle::ty::layout::FAT_PTR_EXTRA
source · pub const FAT_PTR_EXTRA: usize = 1;
Expand description
The second half of a fat pointer.
- For a trait object, this is the address of the vtable.
- For a slice, this is the length.