Crate copystr

Source
Expand description

§Copy String

Strings that exist on the stack. This makes them Copy. Useful for when you want to keep some small text inside a struct or enum and retain copy semantics. Strings are stored as a byte array with UTF8 conversion on the fly.

Macros§

csstruct

Structs§

s3
s4
s5
s6
s7
s8
s9
s10
s11
s12
s13
s14
s15
s16
s17
s18
s19
s20
s21
s22
s23
s24
s25
s26
s27
s28
s29
s30
s31
s32

Enums§

Error
Errors caught in construction via new or from_slice.

Traits§

CopystrComparable
Convenience trait to blanked impl PartialOrd and PartialEq on all copystr variants and String and &str.

Type Aliases§

CopyStringCapacity
StringLength