AnyClear

Trait AnyClear 

Source
pub trait AnyClear:
    Any
    + Send
    + Sync {
    // Required method
    fn clear(&mut self);
}
Expand description

A trait to support calling clear on the type erased trait object.

Required Methods§

Source

fn clear(&mut self)

Implementations on Foreign Types§

Source§

impl<T: Any + Send + Sync> AnyClear for Vec<T>

Source§

fn clear(&mut self)

Implementors§