Function stackalloc::alloca_zeroed [−][src]
pub fn alloca_zeroed<T, F>(size: usize, callback: F) -> T where
F: FnOnce(&mut [u8]) -> T,
Allocate a runtime length zeroed byte buffer on the stack, call callback
with this buffer, and then deallocate the buffer.
See alloca()
.