pub trait ToArenaArray<T> {
// Required method
fn to_arena_array(self, arena: &Arena) -> Result<Array<T>, UploadError>;
}
Expand description
Converts standard collections (Vec or slice) into an arena–allocated Array.
(Note: For a borrowed slice, T must implement Clone so that the items can be copied.)