Home
last modified time | relevance | path

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

/external/rust/crates/protobuf/src/
Dmisc.rs5 pub unsafe fn remaining_capacity_as_slice_mut<A>(vec: &mut Vec<A>) -> &mut [A] { in remaining_capacity_as_slice_mut() function
28 let s = remaining_capacity_as_slice_mut(&mut v); in test_remaining_capacity_as_slice_mut()
Dcoded_output_stream.rs1 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()