Struct dynsequence::DynBlocks
pub struct DynBlocks { /* private fields */ }Implementations§
§impl DynBlocks
impl DynBlocks
pub const fn new() -> Self
pub const fn with_blocksize(block_size: usize) -> Self
pub unsafe fn push_raw<T: ?Sized>(&mut self, src: *const T) -> DynBlockRef<'_, T>
pub unsafe fn push_raw<T: ?Sized>(&mut self, src: *const T) -> DynBlockRef<'_, T>
Safety
Behavior is undefined if any of the following conditions are violated:
srcmust be valid for reads.srcmust be properly aligned.srcmust point to a properly initialized value of typeT.srcmust not be used or dropped anymore (use std::mem::forget)