Module clear

Source
Expand description

Module for the Clear trait.

Structs§

ClearDefault
A wrapper struct which implements Clear by setting self to Default::default().

Traits§

Clear
A trait for abstracting over the .clear() method available in many collection types.