Trait cycler::CyclerWriterDefault[][src]

pub trait CyclerWriterDefault<T>: CyclerWriter<T> where
    T: WriteAccess
{ fn write_next(&mut self); }

This trait enables the write half of the cycler to be moved to the next chunk by a default copy function. Usually this function is Clone::clone_from but that is not a strict requirement.

Required methods

fn write_next(&mut self)[src]

Moves the writer to the next block cloning the previously written block using a default function.

Loading content...

Implementors

impl<T> CyclerWriterDefault<T> for AtomicCyclerWriter<T> where
    T: Clone + WriteAccess
[src]

impl<T> CyclerWriterDefault<T> for RwLockCyclerWriter<T> where
    T: Clone + WriteAccess
[src]

Loading content...