Lines Matching refs:Splice
17789 // Replace_range does not have the memory safety issues of a vector Splice.
46888 pub use self::splice::Splice;
49328 /// if the `Splice` value is leaked.
49330 /// The input iterator `replace_with` is only consumed when the `Splice` value is dropped.
49356 pub fn splice<R, I>(&mut self, range: R, replace_with: I) -> Splice<'_, I::IntoIter, A>
49361 Splice { drain: self.drain(range), replace_with: replace_with.into_iter() }
49971 /// let iter: std::vec::Splice<_> = v.splice(1.., new.iter().cloned());
49975 pub struct Splice<
49985 impl<I: Iterator, A: Allocator> Iterator for Splice<'_, I, A> {
49998 impl<I: Iterator, A: Allocator> DoubleEndedIterator for Splice<'_, I, A> {
50005 impl<I: Iterator, A: Allocator> ExactSizeIterator for Splice<'_, I, A> {}
50008 impl<I: Iterator, A: Allocator> Drop for Splice<'_, I, A> {
50048 /// Private helper methods for `Splice::drop`