Skip to main content

CompactStr

Type Alias CompactStr 

Source
pub type CompactStr = CompactString;
Expand description

Compact inline string – stack-allocated for strings up to 24 bytes. Drop-in replacement for String with zero heap allocation for short strings.

Aliased Type§

pub struct CompactStr(/* private fields */);