Crate constr

Crate constr 

Source
Expand description

Constant string generics.

See Constr trait and constr! macro for more info.

Macros§

constr
Creates an impl Constr type for a string.

Structs§

Empty
Constr empty string, so you don’t have to do it yourself.

Traits§

Ascii
Assertion that Constr is ASCII.
Caseless
Assertion that Constr is caseless, i.e., none of its characters have the Cased Unicode property.
Constr
Constant string “type”.
Nonempty
Assertion that Constr is nonempty.