pub type SmallString = ArrayString<U23>;Expand description
String with the same mem::size_of of a String
24 bytes in 64 bits architecture
12 bytes in 32 bits architecture (or others)
Aliased Type§
pub struct SmallString {
pub(crate) array: [u8; 23],
pub(crate) size: u8,
}Fields§
§array: [u8; 23]Array type corresponding to specified SIZE
size: u8Current string size