Crate inline_flexstr

Crate inline_flexstr 

Source
Expand description

A simple to use, copy/clone-efficient inline string type for Rust

Structs§

InlineFlexStr
Inline bytes type - used to store small strings inline
InteriorNulErrorcstr
Error type returned when a C String has an interior NUL byte.
TooLongForInlining
Error type returned when the string is too long for inline storage.

Enums§

TooLongOrNulErrorcstr
Error type returned when a C String is too long for inline storage or has an interior NUL byte.
TooLongOrUtf8Errorstr
Error type returned when a string is too long for inline storage or has an invalid UTF-8 sequence.

Constants§

INLINE_CAPACITY
The capacity of the InlineFlexStr type in bytes

Traits§

StringLike
Trait for string types that provide various operations

Type Aliases§

InlineBytesbytes
Inline [u8] type
InlineCStrcstr
Inline CStr type
InlineOsStrstd and osstr
Inline OsStr type
InlinePathstd and path
Inline Path type
InlineStrstr
Inline str type