pub fn clear(&mut self) {
        for element in self.iter_mut() {
            element.clear();
        }
        self.len = 0;
    }
/// Clears the ClearVec and sets its length back to 0. All elements that
/// were in use get cleared and stay in the ClearVec as unused elements,
/// ready to be reused again.
Clears the ClearVec and sets its length back to 0. All elements that
were in use get cleared and stay in the ClearVec as unused elements,
ready to be reused again.
Clears the ClearVec and sets its length back to 0 . All elements that were in use get cleared and stay in the ClearVec as unused elements ready to be reused again .
pub fn clear(&mut self) {
        for element in self.iter_mut() {
            element.clear();
        }
        self.len = 0;
    }
pub fn clear ( & mut self ) { for element in self . iter_mut ( ) { element . clear ( ) ; } self . len = 0 ; }
Clears the ClearVec and sets its length back to 0.
Clears the ClearVec and sets its length back to 0 .
&mut self
&mut self