[−][src]Crate slash_formatter
Slash Formatter
This crate provides functions to deal with slashes and backslashes in strings.
Examples
To see examples, check out the documentation for each function.
Macros
backslash | Concatenate multiple strings with backslashes. |
backslash_in_place | Concatenate multiple strings with backslashes. |
concat_with_backslash | Concatenates literals into a static string slice separated by a backslash. Prefixes and suffixes can also be added. |
concat_with_file_separator | Concatenates literals into a static string slice separated by |
concat_with_file_separator_build | Concatenates literals into a static string slice separated by |
concat_with_file_separator_debug_release | Concatenates literals into a static string slice separated by file separators which depends on the target OS if in debug mode, or depends on the workstation if in release mode. Prefixes and suffixes can also be added. |
concat_with_slash | Concatenates literals into a static string slice separated by a slash. Prefixes and suffixes can also be added. |
file_separator | Concatenate multiple strings with |
file_separator_build | Concatenate multiple strings with |
file_separator_build_in_place | Concatenate multiple strings with |
file_separator_in_place | Concatenate multiple strings with |
slash | Concatenate multiple strings with slashes. It can also be used to get the literal |
slash_in_place | Concatenate multiple strings with slashes. It can also be used to get the literal |
Functions
add_end_backslash | Add an ending backslash into a string. |
add_end_backslash_in_place | Add an ending backslash into a string. |
add_end_file_separator | Add an ending |
add_end_file_separator_build | Add an ending |
add_end_file_separator_build_in_place | Add an ending |
add_end_file_separator_in_place | Add an ending |
add_end_slash | Add an ending slash into a string. |
add_end_slash_in_place | Add an ending slash into a string. |
add_start_backslash | Add a starting backslash into a string. |
add_start_backslash_in_place | Add a starting backslash into a string. |
add_start_file_separator | Add a starting |
add_start_file_separator_build | Add a starting |
add_start_file_separator_build_in_place | Add a starting |
add_start_file_separator_in_place | Add a starting |
add_start_slash | Add a starting slash into a string. |
add_start_slash_in_place | Add a starting slash into a string. |
concat_with_backslash | Concatenate two strings with a backslash. |
concat_with_backslash_in_place | Concatenate two strings with a backslash. |
concat_with_file_separator | Concatenate two strings with |
concat_with_file_separator_build | Concatenate two strings with |
concat_with_file_separator_build_in_place | Concatenate two strings with |
concat_with_file_separator_in_place | Concatenate two strings with |
concat_with_slash | Concatenate two strings with a slash. |
concat_with_slash_in_place | Concatenate two strings with a slash. |
delete_end_backslash | Delete an ending backslash in a string except for '\\'. |
delete_end_backslash_in_place | Delete an ending backslash in a string except for '\\'. |
delete_end_file_separator | Delete an ending |
delete_end_file_separator_build | Delete an ending |
delete_end_file_separator_build_in_place | Delete an ending |
delete_end_file_separator_in_place | Delete an ending |
delete_end_slash | Delete an ending slash in a string except for '/'. |
delete_end_slash_in_place | Delete an ending slash in a string except for '/'. |
delete_start_backslash | Delete a starting backslash in a string except for '\\'. |
delete_start_backslash_in_place | Delete a starting backslash in a string except for '\\'. |
delete_start_file_separator | Delete a starting |
delete_start_file_separator_build | Delete a starting |
delete_start_file_separator_build_in_place | Delete a starting |
delete_start_file_separator_in_place | Delete a starting |
delete_start_slash | Delete a starting slash in a string except for '/'. |
delete_start_slash_in_place | Delete a starting slash in a string except for '/'. |