Skip to main content

Module string

Module string 

Source

Modulesยง

between ๐Ÿ”’
de
split ๐Ÿ”’
unquote ๐Ÿ”’
unquoted ๐Ÿ”’

Structsยง

Unquoted
Unquoted string which deserialized from a quoted string. Construction from a &str is infallible such that the input can already be unquoted. Construction from serde deserialization is fallible and the input must be quoted.

Constantsยง

EMPTY

Traitsยง

Between
Slice a string between a pair of delimiters.
SplitInfallible
Split a string with default behaviors on non-match.
Unquote
Slice a string between quotes

Functionsยง

camel_to_snake_case
camel_to_snake_string
collect_stream
common_prefix
Find the common prefix from a collection of strings and return a slice
str_from_bytes
Parses the bytes into a string.
string_from_bytes
Parses the bytes into a string.
to_small_string
truncate_deterministic