MCPcopy Create free account

hub / github.com/RReverser/cow-utils-rs / functions

Functions11 in github.com/RReverser/cow-utils-rs

↓ 2 callersFunctioncow_replace
( src: &'s str, match_indices: impl Iterator<Item = (usize, &'s str)>, to: &str, )
src/lib.rs:85
↓ 1 callersMethodcow_replace
This is similar to [`str::replace`](https://doc.rust-lang.org/std/primitive.str.html#method.replace), but returns a slice of the original string when
src/lib.rs:118
↓ 1 callersMethodcow_to_lowercase
This is similar to [`str::to_lowercase`](https://doc.rust-lang.org/std/primitive.str.html#method.to_lowercase), but returns original slice when possib
src/lib.rs:175
Functionbench_replace
(c: &mut Criterion)
benches/benchmark.rs:4
Functionbench_to_lowercase
(c: &mut Criterion)
benches/benchmark.rs:23
Functionchanges_when_lowercased
(c: char)
src/lib.rs:243
Functionchanges_when_uppercased
(c: char)
src/lib.rs:247
Methodcow_replacen
This is similar to [`str::replacen`](https://doc.rust-lang.org/std/primitive.str.html#method.replacen), but returns a slice of the original string whe
src/lib.rs:135
Methodcow_to_ascii_lowercase
This is similar to [`str::to_ascii_lowercase`](https://doc.rust-lang.org/std/primitive.str.html#method.to_ascii_lowercase), but returns original slice
src/lib.rs:150
Methodcow_to_ascii_uppercase
This is similar to [`str::to_ascii_uppercase`](https://doc.rust-lang.org/std/primitive.str.html#method.to_ascii_uppercase), but returns original slice
src/lib.rs:199
Methodcow_to_uppercase
This is similar to [`str::to_uppercase`](https://doc.rust-lang.org/std/primitive.str.html#method.to_uppercase), but returns original slice when possib
src/lib.rs:224