Expand description
BulkVecExtender is a simple utility trait that allows you to bulk extend a Vec&mut [T] slice that you can write to - much faster than individual push() calls,
which has to check for both bounds and capacity.
Structs§
- Bulk
Extend Guard - RAII guard for bulk Vec extension. Automatically finalizes on drop.
Traits§
- Bulk
VecExtender - BulkVecExtender is a simple utility trait that allows you to bulk extend a Vec
and return a &mut [T]slice that you can write to - much faster than individualpush()calls, which has to check for both bounds and capacity. - Slice
U8SIMD Extender - Utility trait to help write u8 SIMD vectors into a mutable slice