Trait boxed_array::BuildArray
source · [−]pub unsafe trait BuildArray<C, F> {
unsafe fn build_into(
space: *mut Self,
build_component: &mut impl FnMut(*mut C)
);
}
Expand description
All useful implementations of this trait are already provided by this crate.
Indicates that the implementing type is an array that can be initialised with a closure.
The F
generic type parameter is used to convince Rust to allow this -
it is normally (always?) inferred by the compiler.