[−][src]Function evc::new
pub fn new<T: Clone + OperationCache>(
value: T
) -> (WriteHandle<T>, ReadHandle<T>)
Create a write handle and a read handle to some data. The data must be both OperationCache
,
to support queuing data (so that both buffers can be modified during refreshes), and Clone
,
to make double buffering possible.