Crate string32[][src]

Expand description

A string that is indexed by u32 instead of usize.

On 64-bit platforms, String32 only requires 16 bytes to store the pointer, length, and capacity. String by comparison requires 24 bytes, plus padding.

Structs

Str32

A slice of a String32.

String32

A string that is indexed by u32 instead of usize.

TryFromStrError

The error returned when a &str conversion to &Str32 or String32 would require a buffer larger than u32::MAX bytes.

TryFromStringError

The error returned when a String conversion to String32 would require a buffer larger than u32::MAX bytes.