/// Clears all values to the given default value.
Clears all values to the given default value.
Clears all values to the given default value .
pub fn clear(&mut self){
        let default = self.default.clone();
        for elem in self{
            *elem = default.clone();
        }
    }
pub fn clear ( & mut self ) { let default = self . default . clone ( ) ; for elem in self { * elem = default . clone ( ) ; } }
Clears all values to the given default value.
Clears all values to the given default value .
&mut self