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

Method borrow_mut

crates/common/src/boxvec.rs:645–647  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

643
644impl<T> BorrowMut<[T]> for BoxVec<T> {
645 fn borrow_mut(&mut self) -> &mut [T] {
646 self
647 }
648}
649
650impl<T> AsRef<[T]> for BoxVec<T> {

Callers 15

push_held_rcMethod · 0.80
request_animation_frameFunction · 0.80
load_cert_chainMethod · 0.80
borrow_vars_mutMethod · 0.80
_set_running_loopFunction · 0.80
_enter_taskFunction · 0.80
_leave_taskFunction · 0.80
_swap_current_taskFunction · 0.80
_on_forkFunction · 0.80
try_defer_dropFunction · 0.80
flush_deferred_dropsFunction · 0.80
enterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected