Put

Trait Put 

Source
pub trait Put<T> {
    // Required method
    fn put(&mut self, value: T);
}
Expand description

A trait for objects which provide dropping write access to their value.

Required Methods§

Source

fn put(&mut self, value: T)

Puts the value the given value, dropping the old value.

Implementors§

Source§

impl<'a, T: 'a> Put<T> for WriteOnlyRef<'a, T>