[][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

concat_with_backslash

Concatenate multiple strings with backslashes.

concat_with_backslash_mut

Concatenate multiple strings with backslashes.

concat_with_file_separator

Concatenate multiple strings with FILE_SEPARATORs.

concat_with_file_separator_mut

Concatenate multiple strings with FILE_SEPARATORs.

concat_with_slash

Concatenate multiple strings with slashes.

concat_with_slash_mut

Concatenate multiple strings with slashes.

Functions

add_end_backslash

Add an ending backslash into a string.

add_end_backslash_mut

Add an ending backslash into a string.

add_end_backslash_owned

Add an ending backslash into a string.

add_end_file_separator

Add an ending FILE_SEPARATOR into a string.

add_end_file_separator_mut

Add an ending FILE_SEPARATOR into a string.

add_end_file_separator_owned

Add an ending FILE_SEPARATOR into a string.

add_end_slash

Add an ending slash into a string.

add_end_slash_mut

Add an ending slash into a string.

add_end_slash_owned

Add an ending slash into a string.

add_start_backslash

Add a starting backslash into a string.

add_start_backslash_mut

Add a starting backslash into a string.

add_start_backslash_owned

Add a starting backslash into a string.

add_start_file_separator

Add a starting FILE_SEPARATOR into a string.

add_start_file_separator_mut

Add a starting FILE_SEPARATOR into a string.

add_start_file_separator_owned

Add a starting FILE_SEPARATOR into a string.

add_start_slash

Add a starting slash into a string.

add_start_slash_mut

Add a starting slash into a string.

add_start_slash_owned

Add a starting slash into a string.

concat_with_backslash

Concatenate two strings with a backslash.

concat_with_backslash_mut

Concatenate two strings with a backslash.

concat_with_backslash_owned

Concatenate two strings with a backslash.

concat_with_file_separator

Concatenate two strings with a FILE_SEPARATOR.

concat_with_file_separator_mut

Concatenate two strings with a FILE_SEPARATOR.

concat_with_file_separator_owned

Concatenate two strings with a FILE_SEPARATOR.

concat_with_slash

Concatenate two strings with a slash.

concat_with_slash_mut

Concatenate two strings with a slash.

concat_with_slash_owned

Concatenate two strings with a slash.

delete_end_backslash

Delete an ending backslash in a string except for '\'.

delete_end_backslash_mut

Delete an ending backslash in a string except for '\'.

delete_end_backslash_owned

Delete an ending backslash in a string except for '\'.

delete_end_file_separator

Delete an ending FILE_SEPARATOR in a string except for the FILE_SEPARATOR.

delete_end_file_separator_mut

Delete an ending FILE_SEPARATOR in a string except for the FILE_SEPARATOR.

delete_end_file_separator_owned

Delete an ending FILE_SEPARATOR in a string except for the FILE_SEPARATOR.

delete_end_slash

Delete an ending slash in a string except for '/'.

delete_end_slash_mut

Delete an ending slash in a string except for '/'.

delete_end_slash_owned

Delete an ending slash in a string except for '/'.

delete_start_backslash

Delete a starting backslash in a string except for '\'.

delete_start_backslash_mut

Delete a starting backslash in a string except for '\'.

delete_start_backslash_owned

Delete a starting backslash in a string except for '\'.

delete_start_file_separator

Delete a starting FILE_SEPARATOR in a string except for the FILE_SEPARATOR.

delete_start_file_separator_mut

Delete a starting FILE_SEPARATOR in a string except for the FILE_SEPARATOR.

delete_start_file_separator_owned

Delete a starting FILE_SEPARATOR in a string except for the FILE_SEPARATOR.

delete_start_slash

Delete a starting slash in a string except for '/'.

delete_start_slash_mut

Delete a starting slash in a string except for '/'.

delete_start_slash_owned

Delete a starting slash in a string except for '/'.