Module primitive

Source
Expand description

Definitions of archived primitives and type aliases based on enabled features.

Type Aliasesยง

ArchivedChar
The archived version of char.
ArchivedF32
The archived version of f32.
ArchivedF64
The archived version of f64.
ArchivedI16
The archived version of i16.
ArchivedI32
The archived version of i32.
ArchivedI64
The archived version of i64.
ArchivedI128
The archived version of i128.
ArchivedIsize
The archived version of isize chosen based on the currently-enabled pointer_width_* feature.
ArchivedNonZeroI16
The archived version of NonZeroI16.
ArchivedNonZeroI32
The archived version of NonZeroI32.
ArchivedNonZeroI64
The archived version of NonZeroI64.
ArchivedNonZeroI128
The archived version of NonZeroI128.
ArchivedNonZeroIsize
The archived version of NonZeroIsize chosen based on the currently-enabled pointer_width_* feature.
ArchivedNonZeroU16
The archived version of NonZeroU16.
ArchivedNonZeroU32
The archived version of NonZeroU32.
ArchivedNonZeroU64
The archived version of NonZeroU64.
ArchivedNonZeroU128
The archived version of NonZeroU128.
ArchivedNonZeroUsize
The archived version of NonZeroUsize chosen based on the currently-enabled pointer_width_* feature.
ArchivedU16
The archived version of u16.
ArchivedU32
The archived version of u32.
ArchivedU64
The archived version of u64.
ArchivedU128
The archived version of u128.
ArchivedUsize
The archived version of isize chosen based on the currently-enabled pointer_width_* feature.
FixedIsize
The native type that isize is converted to for archiving.
FixedNonZeroIsize
The native type that NonZeroIsize is converted to for archiving.
FixedNonZeroUsize
The native type that NonZeroUsize is converted to for archiving.
FixedUsize
The native type that usize is converted to for archiving.