Lines Matching refs:Hole
44793 // The `Hole` type is used to represent this, and make sure
44804 let mut hole = unsafe { Hole::new(&mut self.data, pos) };
44832 let mut hole = unsafe { Hole::new(&mut self.data, pos) };
44891 let mut hole = unsafe { Hole::new(&mut self.data, pos) };
45381 /// Hole represents a hole in a slice i.e., an index without valid value
45383 /// In drop, `Hole` will restore the slice by filling the hole
45385 struct Hole<'a, T: 'a> {
45391 impl<'a, T> Hole<'a, T> {
45392 /// Create a new `Hole` at index `pos`.
45400 Hole { data, elt: ManuallyDrop::new(elt), pos }
45441 impl<T> Drop for Hole<'_, T> {
48222 // Vec: [Kept, Kept, Hole, Hole, Hole, Hole, Unchecked, Unchecked]
48227 // Hole: Moved or dropped element slot.