[−][src]Function fuckit::summon_many
pub unsafe fn summon_many<T>(len: usize) -> &'static mut [T]
Allocates (but does not initialize) space for a slice of len
values of
type T
which will never be freed, so they can have unbounded 'static
lifetimes. This leaks memory.
Safety
Each value must be initialized before it is used.
Safe Alternative
Use summon_clones
to automatically initialize the values to
clones/copies of a provided value.