pub fn split(&mut self) -> (Producer<T, A>, Consumer<T, A>) {
        (
            Producer {
                rb: unsafe { Shared::new_unchecked(self) },
                _marker: PhantomData,
            },
            Consumer {
                rb: unsafe { Shared::new_unchecked(self) },
                _marker: PhantomData,
            },
        )
    }
/// Splits a statically allocated ring buffer into producer and consumer end points
Splits a statically allocated ring buffer into producer and consumer end points
Splits a statically allocated ring buffer into producer and consumer end points
pub fn split(&mut self) -> (Producer<T, A>, Consumer<T, A>) {
        (
            Producer {
                rb: unsafe { Shared::new_unchecked(self) },
                _marker: PhantomData,
            },
            Consumer {
                rb: unsafe { Shared::new_unchecked(self) },
                _marker: PhantomData,
            },
        )
    }
pub fn split ( & mut self ) -> ( Producer < T , A > , Consumer < T , A > ) { ( Producer { rb : unsafe { Shared :: new_unchecked ( self ) } , _marker : PhantomData , } , Consumer { rb : unsafe { Shared :: new_unchecked ( self ) } , _marker : PhantomData , } , ) }
Splits a statically allocated ring buffer into producer and consumer end points
Splits a statically allocated ring buffer into producer and consumer end points
&mut self
&mut self