Struct ringbuffer_spsc::RingBuffer
source · [−]pub struct RingBuffer<T, const N: usize> { /* private fields */ }Implementations
sourceimpl<T, const N: usize> RingBuffer<T, N>
impl<T, const N: usize> RingBuffer<T, N>
pub fn new() -> (RingBufferWriter<T, N>, RingBufferReader<T, N>)
Trait Implementations
impl<T, const N: usize> Send for RingBuffer<T, N>
impl<T, const N: usize> Sync for RingBuffer<T, N>
Auto Trait Implementations
impl<T, const N: usize> !RefUnwindSafe for RingBuffer<T, N>
impl<T, const N: usize> Unpin for RingBuffer<T, N> where
T: Unpin,
impl<T, const N: usize> UnwindSafe for RingBuffer<T, N> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more