Put

Trait Put 

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

Dual to Get, and the analogue of Serial. It allows writing sink.put(value) in contrast to value.serial(sink). It is less important than Get.

Required Methods§

Source

fn put(&mut self, _v: &A)

Implementors§

Source§

impl<R, A> Put<A> for R
where R: Buffer, A: Serial,