Home
last modified time | relevance | path

Searched refs:remove_lifetime_mut (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/protobuf/src/
Dmisc.rs12 pub unsafe fn remove_lifetime_mut<A: ?Sized>(a: &mut A) -> &'static mut A { in remove_lifetime_mut() function
Dcoded_output_stream.rs2 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()