Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ as_interned
Method
as_interned
crates/vm/src/intern.rs:311–313 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
309
impl MaybeInternedString for str {
310
#[inline(always)]
311
fn as_interned(&self) -> Option<&'static PyStrInterned> {
312
None
313
}
314
}
315
316
impl MaybeInternedString for Wtf8 {
Callers
2
interned
Method · 0.80
as_interned_str
Method · 0.80
Calls
3
is_interned
Method · 0.80
Some
Class · 0.50
as_object
Method · 0.45
Tested by
no test coverage detected