pub struct CircularBuffer<'a, T> { /* private fields */ }Expand description
A static FIFO circular buffer. Objects in the buffer are owned by the buffer and their memory will only be release when the buffer is dropped
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !Freeze for CircularBuffer<'a, T>
impl<'a, T> RefUnwindSafe for CircularBuffer<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for CircularBuffer<'a, T>
impl<'a, T> !Sync for CircularBuffer<'a, T>
impl<'a, T> Unpin for CircularBuffer<'a, T>
impl<'a, T> UnwindSafe for CircularBuffer<'a, T>where
T: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more