pub unsafe fn drop(&mut self, len: usize) {
        ptr::drop_in_place(self.get_label_mut());
        for i in 0..len {
            ptr::drop_in_place(self.data.elem_ptr(i));
        }
        self.drop_lazy(len);
    }
/// Runs destructor code for elements and for label, then deallocates block.
///
/// # Safety
/// Function is safe as long as the underlying array is at least length `len`,
/// and the elements in the array have been initialized.
Runs destructor code for elements and for label, then deallocates block.
Runs destructor code for elements and for label then deallocates block .
pub unsafe fn drop(&mut self, len: usize) {
        ptr::drop_in_place(self.get_label_mut());
        for i in 0..len {
            ptr::drop_in_place(self.data.elem_ptr(i));
        }
        self.drop_lazy(len);
    }
pub unsafe fn drop ( & mut self , len : usize ) { ptr :: drop_in_place ( self . get_label_mut ( ) ) ; for i in 0 .. len { ptr :: drop_in_place ( self . data . elem_ptr ( i ) ) ; } self . drop_lazy ( len ) ; }
Runs destructor code for elements and for label, then deallocates block.
Runs destructor code for elements and for label then deallocates block .
&mut self
len
usize
safety
Function is safe as long as the underlying array is at least length `len`,
and the elements in the array have been initialized.
Function is safe as long as the underlying array is at least length ` len ` and the elements in the array have been initialized .