pub struct RingBuffer<AllocU8: Allocator<u8>> {
pub size_: u32,
pub mask_: u32,
pub tail_size_: u32,
pub total_size_: u32,
pub cur_size_: u32,
pub pos_: u32,
pub data_mo: AllocU8::AllocatedMemory,
pub buffer_index: usize,
}
Fields§
§size_: u32
§mask_: u32
§tail_size_: u32
§total_size_: u32
§cur_size_: u32
§pos_: u32
§data_mo: AllocU8::AllocatedMemory
§buffer_index: usize
Auto Trait Implementations§
impl<AllocU8> Freeze for RingBuffer<AllocU8>
impl<AllocU8> RefUnwindSafe for RingBuffer<AllocU8>
impl<AllocU8> Send for RingBuffer<AllocU8>
impl<AllocU8> Sync for RingBuffer<AllocU8>
impl<AllocU8> Unpin for RingBuffer<AllocU8>
impl<AllocU8> UnwindSafe for RingBuffer<AllocU8>
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