Searched refs:remove_lifetime_mut (Results 1 – 2 of 2) sorted by relevance
12 pub unsafe fn remove_lifetime_mut<A: ?Sized>(a: &mut A) -> &'static mut A { in remove_lifetime_mut() function
2 use crate::misc::remove_lifetime_mut;88 let buffer = unsafe { remove_lifetime_mut(&mut buffer_storage as &mut [u8]) }; in new()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()