Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RReverser/cow-utils-rs
/ functions
Functions
11 in github.com/RReverser/cow-utils-rs
⨍
Functions
11
◇
Types & classes
2
↓ 2 callers
Function
cow_replace
( src: &'s str, match_indices: impl Iterator<Item = (usize, &'s str)>, to: &str, )
src/lib.rs:85
↓ 1 callers
Method
cow_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 callers
Method
cow_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
Function
bench_replace
(c: &mut Criterion)
benches/benchmark.rs:4
Function
bench_to_lowercase
(c: &mut Criterion)
benches/benchmark.rs:23
Function
changes_when_lowercased
(c: char)
src/lib.rs:243
Function
changes_when_uppercased
(c: char)
src/lib.rs:247
Method
cow_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
Method
cow_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
Method
cow_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
Method
cow_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