Searched refs:borrow_mut (Results 1 – 8 of 8) sorted by relevance
427 let borrow_mut = cell.borrow_mut(); in test_ref_mut_split_at_unchecked() localVariable428 let slice_ref_mut: cell::RefMut<'_, [u8]> = cell::RefMut::map(borrow_mut, |a| &mut a[..]); in test_ref_mut_split_at_unchecked()
51 /// [`try_from_foreign`], [`borrow`], or [`borrow_mut`] can result in undefined behavior.61 /// [`borrow_mut`]: Self::borrow_mut129 /// `borrow_mut` on the same object.135 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> Self::BorrowedMut<'a>;152 unsafe fn borrow_mut<'a>(_: *mut c_void) -> Self::BorrowedMut<'a> {}126 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> Self::BorrowedMut<'a>; borrow_mut() method 143 unsafe fn borrow_mut<'a>(_: *mut c_void) -> Self::BorrowedMut<'a> {} borrow_mut() method
386 Some(unsafe { T::borrow_mut(ret) }) in load()580 Some(unsafe { T::borrow_mut(ret) }) in find()
210 unsafe { T::borrow_mut(ptr.as_ptr()) } in remove()
542 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> &'a mut T { in borrow() 588 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> Pin<&'a mut T> { in deref_mut() 676 fn borrow_mut(&mut self) -> &mut T { in drop() 512 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> &'a mut T { borrow_mut() function 552 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> Pin<&'a mut T> { borrow_mut() function 642 fn borrow_mut(&mut self) -> &mut T { borrow_mut() function
1135 fn borrow_mut(&mut self) -> &mut [T] {1067 fn borrow_mut(&mut self) -> &mut [T] { borrow_mut() function
86 lookahead.comparisons.borrow_mut().push(display()); in peek_impl()
198 let mut sm = sm.borrow_mut(); in get_cursor()335 SOURCE_MAP.with(|sm| sm.borrow_mut().files.truncate(1)); in invalidate_current_thread_spans()547 SOURCE_MAP.with(|sm| sm.borrow_mut().fileinfo_mut(*self).byte_range(*self)) in byte_range()637 Some(SOURCE_MAP.with(|sm| sm.borrow_mut().fileinfo_mut(*self).source_text(*self))) in source_text()