Searched refs:remaining_capacity_as_slice_mut (Results 1 – 2 of 2) sorted by relevance
5 pub unsafe fn remaining_capacity_as_slice_mut<A>(vec: &mut Vec<A>) -> &mut [A] { in remaining_capacity_as_slice_mut() function28 let s = remaining_capacity_as_slice_mut(&mut v); in test_remaining_capacity_as_slice_mut()
1 use crate::misc::remaining_capacity_as_slice_mut;147 self.buffer = remove_lifetime_mut(remaining_capacity_as_slice_mut(vec)); in refresh_buffer()208 self.buffer = remove_lifetime_mut(remaining_capacity_as_slice_mut(vec)); in write_raw_bytes()