pub fn new_clone(data: &T) -> (TripleBufferReader<T>, TripleBufferWriter<T>)
    where
        T: Clone,
    {
        Self::from_states(data.clone(), data.clone(), data.clone())
    }
/// Construct a new triple buffer where the initial states are all cloned
/// from the passed in data.
Construct a new triple buffer where the initial states are all cloned
from the passed in data.
Construct a new triple buffer where the initial states are all cloned from the passed in data .
pub fn new_clone(data: &T) -> (TripleBufferReader<T>, TripleBufferWriter<T>)
    where
        T: Clone,
    {
        Self::from_states(data.clone(), data.clone(), data.clone())
    }
pub fn new_clone ( data : & T ) -> ( TripleBufferReader < T > , TripleBufferWriter < T > ) where T : Clone , { Self :: from_states ( data . clone ( ) , data . clone ( ) , data . clone ( ) ) }
Construct a new triple buffer where the initial states are all cloned
from the passed in data.
Construct a new triple buffer where the initial states are all cloned from the passed in data .
data
&T
data
&T