Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ contains
Method
contains
crates/wtf8/src/lib.rs:1128–1130 ·
view source on GitHub ↗
(&self, pat: &Wtf8)
Source
from the content-addressed store, hash-verified
1126
}
1127
1128
pub fn contains(&self, pat: &Wtf8) -> bool {
1129
self.bytes.contains_str(pat)
1130
}
1131
1132
pub fn contains_code_point(&self, pat: CodePoint) -> bool {
1133
self.bytes
Callers
15
criterion_benchmark
Function · 0.45
test_operator
Method · 0.45
test_contains
Method · 0.45
compile
Method · 0.45
bytes_to_int
Function · 0.45
handle_encode_error
Method · 0.45
sign_string
Method · 0.45
fill_string
Method · 0.45
format_bytes
Method · 0.45
format_number
Method · 0.45
format_float
Method · 0.45
winerror_to_errno
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_operator
Method · 0.36
test_contains
Method · 0.36