Expand description
§NonEmptyString
A simple wrapper type for String
s that ensures that the string inside is not .empty()
, meaning that the length > 0.
Macros§
- non_
empty_ string - Creates a
NonEmptyString
from a string literal at compile time.
Structs§
- NonEmpty
String - A simple String wrapper type, similar to NonZeroUsize and friends. Guarantees that the String contained inside is not of length 0.