Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ eq
Method
eq
crates/wtf8/src/lib.rs:216–218 ·
view source on GitHub ↗
(&self, other: &char)
Source
from the content-addressed store, hash-verified
214
215
impl PartialEq<char> for CodePoint {
216
fn eq(&self, other: &char) -> bool {
217
self.to_u32() == *other as u32
218
}
219
}
220
impl PartialEq<CodePoint> for char {
221
fn eq(&self, other: &CodePoint) -> bool {
Callers
nothing calls this directly
Calls
2
to_u32
Method · 0.45
as_bytes
Method · 0.45
Tested by
no test coverage detected