Struct ringmaster::ring_buffer::RingBuffer
source · [−]pub struct RingBuffer<Impl> { /* private fields */ }
Trait Implementations
sourceimpl<T, Impl: Buffer<Item = T>> Buffer for RingBuffer<Impl>
impl<T, Impl: Buffer<Item = T>> Buffer for RingBuffer<Impl>
sourceimpl<Impl: BufferMode<Mode = BufferType>> BufferMode for RingBuffer<Impl>
impl<Impl: BufferMode<Mode = BufferType>> BufferMode for RingBuffer<Impl>
sourceimpl<Impl: Clone> Clone for RingBuffer<Impl>
impl<Impl: Clone> Clone for RingBuffer<Impl>
sourcefn clone(&self) -> RingBuffer<Impl>
fn clone(&self) -> RingBuffer<Impl>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<Impl: Default> Default for RingBuffer<Impl>
impl<Impl: Default> Default for RingBuffer<Impl>
sourcefn default() -> RingBuffer<Impl>
fn default() -> RingBuffer<Impl>
Returns the “default value” for a type. Read more
sourceimpl<T, Impl: Peek<Item = T>> Peek for RingBuffer<Impl>
impl<T, Impl: Peek<Item = T>> Peek for RingBuffer<Impl>
sourceimpl<T, Impl: Snapshot<Item = T>> Snapshot for RingBuffer<Impl>
impl<T, Impl: Snapshot<Item = T>> Snapshot for RingBuffer<Impl>
sourceimpl<T: Copy, Impl: SnapshotRaw<Item = T>> SnapshotRaw for RingBuffer<Impl>
impl<T: Copy, Impl: SnapshotRaw<Item = T>> SnapshotRaw for RingBuffer<Impl>
type Item = T
unsafe fn snapshot_raw(&self) -> Vec<Self::Item>
Auto Trait Implementations
impl<Impl> RefUnwindSafe for RingBuffer<Impl>
impl<Impl> Send for RingBuffer<Impl> where
Impl: Send + Sync,
impl<Impl> Sync for RingBuffer<Impl> where
Impl: Send + Sync,
impl<Impl> Unpin for RingBuffer<Impl>
impl<Impl> UnwindSafe for RingBuffer<Impl>
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