servers::repeated_field

Trait Clear

Source
pub trait Clear {
    // Required method
    fn clear(&mut self);
}
Expand description

anything that can be cleared

Required Methods§

Source

fn clear(&mut self)

Clear this make, make it equivalent to newly created object.

Implementations on Foreign Types§

Source§

impl Clear for String

Source§

fn clear(&mut self)

Source§

impl Clear for Bytes

Source§

fn clear(&mut self)

Source§

impl Clear for Sample

Source§

fn clear(&mut self)

Source§

impl<T> Clear for Option<T>

Source§

fn clear(&mut self)

Source§

impl<T> Clear for Vec<T>

Source§

fn clear(&mut self)

Implementors§