Gankra / thin-vec

A Vec That Has a Smaller size_of

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `from_raw` method

terrarier2111 opened this issue · comments

Add a method for converting a ptr that was acquired through a thin_vec back into a ThinVec, similar to the from_raw_parts method in the standard library but with just the ptr part as all the others are stored at the allocation site