MCPcopy 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
293impl<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_msgFunction · 0.45
handle_encode_errorMethod · 0.45
handle_decode_errorMethod · 0.45
key_hashMethod · 0.45
key_isMethod · 0.45
key_eqMethod · 0.45
key_as_isizeMethod · 0.45
cformat_bytesFunction · 0.45
cformat_stringFunction · 0.45
execute_instructionMethod · 0.45
collect_keyword_argsMethod · 0.45
collect_ex_argsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected