Lines Matching defs:RefMut
35 /// [`Ref<[u8]>`](core::cell::Ref) and [`RefMut<[u8]>`](core::cell::RefMut).
58 /// `RefMut<[u8]>`.
177 /// Some `ByteSliceMut` types (notably, the standard library's [`RefMut`] type)
183 /// [`RefMut`]: core::cell::RefMut
346 unsafe impl ByteSlice for cell::RefMut<'_, [u8]> {}
348 // SAFETY: This delegates to stdlib implementation of `RefMut::map_split`, which
352 unsafe impl SplitByteSlice for cell::RefMut<'_, [u8]> {
355 cell::RefMut::map_split(self, |slice|
428 let slice_ref_mut: cell::RefMut<'_, [u8]> = cell::RefMut::map(borrow_mut, |a| &mut a[..]);