Struct triple_buffer::TripleBufferInput [] [src]

pub struct TripleBufferInput<T: Clone + PartialEq + Send> { /* fields omitted */ }

Producer interface to the triple buffer

The producer of data can use this struct to submit updates to the triple buffer whenever he likes. These updates are nonblocking: a collision between the producer and the consumer will result in cache contention, but deadlocks and scheduling-induced slowdowns cannot happen.

Methods

impl<T: Clone + PartialEq + Send> TripleBufferInput<T>
[src]

Write a new value into the triple buffer

Trait Implementations

impl<T: Debug + Clone + PartialEq + Send> Debug for TripleBufferInput<T>
[src]

Formats the value using the given formatter.