Macro stringsext::as_mut_slice_no_borrow_check

source ยท
macro_rules! as_mut_slice_no_borrow_check {
    ($slice_u8:expr) => { ... };
}
Expand description

A macro useful to reuse an existing buffer while ignoring eventual existing borrows. Make sure that this buffer is not used anymore before applying this! Buffer reuse helps to avoid additional memory allocations.