Struct librashader_runtime::ringbuffer::InlineRingBuffer
source · pub struct InlineRingBuffer<T, const SIZE: usize> { /* private fields */ }
Expand description
A ring buffer that stores its contents inline.
Implementations§
source§impl<T, const SIZE: usize> InlineRingBuffer<T, SIZE>
impl<T, const SIZE: usize> InlineRingBuffer<T, SIZE>
Trait Implementations§
source§impl<T, const SIZE: usize> RingBuffer<T> for InlineRingBuffer<T, SIZE>
impl<T, const SIZE: usize> RingBuffer<T> for InlineRingBuffer<T, SIZE>
Auto Trait Implementations§
impl<T, const SIZE: usize> Freeze for InlineRingBuffer<T, SIZE>where
T: Freeze,
impl<T, const SIZE: usize> RefUnwindSafe for InlineRingBuffer<T, SIZE>where
T: RefUnwindSafe,
impl<T, const SIZE: usize> Send for InlineRingBuffer<T, SIZE>where
T: Send,
impl<T, const SIZE: usize> Sync for InlineRingBuffer<T, SIZE>where
T: Sync,
impl<T, const SIZE: usize> Unpin for InlineRingBuffer<T, SIZE>where
T: Unpin,
impl<T, const SIZE: usize> UnwindSafe for InlineRingBuffer<T, SIZE>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