MCPcopy Index your code
hub / github.com/RustPython/RustPython / as_ref

Method as_ref

crates/common/src/boxvec.rs:651–653  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

649
650impl<T> AsRef<[T]> for BoxVec<T> {
651 fn as_ref(&self) -> &[T] {
652 self
653 }
654}
655
656impl<T> AsMut<[T]> for BoxVec<T> {

Callers 15

parseMethod · 0.45
validate_formatMethod · 0.45
format_floatMethod · 0.45
format_stringMethod · 0.45
format_complex_floatMethod · 0.45
parse_literalMethod · 0.45
test_parse_field_nameFunction · 0.45
is_compatible_withMethod · 0.45
decode_utf8_compatibleFunction · 0.45
encode_utf8_compatibleFunction · 0.45
encodeFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_parse_field_nameFunction · 0.36