Expand description
Conversions that are only lossless for the current architecture.
§Portability
Callers of this module become dependent on the setting of CONFIG_64BIT. Use with caution, and
never in code that is portable across pointer sizes.
Traits§
- From
Safe Cast Arch - Trait identical to
FromSafeCast, but for conversions that are not available on all architectures. - Into
Safe Cast Arch - Trait identical to
IntoSafeCast, but for conversions that are not available on all architectures.
Functions§
- u64_
as_ usize - A
u64fits into ausizeon 64-bit platforms.