Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ slice
Method
slice
crates/vm/src/stdlib/_io.rs:3654–3656 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
3652
3653
#[inline]
3654
fn slice(&self) -> &Wtf8 {
3655
&self.0.as_wtf8()[self.1.clone()]
3656
}
3657
3658
#[inline]
3659
fn slice_pystr(self, vm: &VirtualMachine) -> PyStrRef {
Callers
6
char_len
Method · 0.45
slice_pystr
Method · 0.45
readline
Method · 0.45
ruff_tstring_element_to_template_str_part
Function · 0.45
tstring_interpolation_expr_str
Function · 0.45
extend_expr_range_with_wrapping_parens
Function · 0.45
Calls
2
as_wtf8
Method · 0.45
clone
Method · 0.45
Tested by
no test coverage detected