Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ str_repr
Method
str_repr
crates/literal/src/escape.rs:113–115 ·
view source on GitHub ↗
(&'a self)
Source
from the content-addressed store, hash-verified
111
}
112
#[inline]
113
pub const fn str_repr<
'r>(&'
a self) -> StrRepr<
'r, '
a> {
114
StrRepr(self)
115
}
116
}
117
118
pub struct StrRepr<
'r, '
a>(&
'r UnicodeEscape<'
a>);
Callers
4
repr
Method · 0.80
unparse_expr
Method · 0.80
unparse_fstring
Method · 0.80
unparse_tstring
Method · 0.80
Calls
1
StrRepr
Class · 0.85
Tested by
no test coverage detected