pub struct WheelBuffer<T, const N: usize> { /* private fields */ }
Expand description
A circular buffer that only provides push and look-behind capabilities.
Implementations§
Source§impl<T, const N: usize> WheelBuffer<T, N>where
T: Copy,
impl<T, const N: usize> WheelBuffer<T, N>where
T: Copy,
Trait Implementations§
Auto Trait Implementations§
impl<T, const N: usize> Freeze for WheelBuffer<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for WheelBuffer<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for WheelBuffer<T, N>where
T: Send,
impl<T, const N: usize> Sync for WheelBuffer<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for WheelBuffer<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for WheelBuffer<T, N>where
T: UnwindSafe,
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