Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ as_slice
Method
as_slice
crates/vm/src/builtins/tuple.rs:294–296 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
292
293
impl<R> PyTuple<R> {
294
pub const fn as_slice(&self) -> &[R] {
295
&self.elements
296
}
297
298
#[inline]
299
pub fn len(&self) -> usize {
Callers
15
syntax_error_set_msg
Function · 0.45
handle_encode_error
Method · 0.45
handle_decode_error
Method · 0.45
key_hash
Method · 0.45
key_is
Method · 0.45
key_eq
Method · 0.45
key_as_isize
Method · 0.45
cformat_bytes
Function · 0.45
cformat_string
Function · 0.45
execute_instruction
Method · 0.45
collect_keyword_args
Method · 0.45
collect_ex_args
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected