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

Method as_mut

crates/codegen/src/symboltable.rs:467–469  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

465 }
466
467 pub fn as_mut(&mut self) -> &mut [&mut T] {
468 unsafe { &mut *(self.v.as_mut_slice() as *mut [NonNull<T>] as *mut [&mut T]) }
469 }
470 }
471}
472use stack::StackStack;

Callers 15

mainFunction · 0.45
sock_selectFunction · 0.45
selectFunction · 0.45
as_bytes_mutMethod · 0.45
try_writableMethod · 0.45
get_compressorMethod · 0.45
compressMethod · 0.45
_db_lockMethod · 0.45
innerMethod · 0.45
closeMethod · 0.45
nextMethod · 0.45
do_handshakeMethod · 0.45

Calls 1

as_mut_sliceMethod · 0.45

Tested by

no test coverage detected