Introducing UnpinCell, a new cell type in Rust that unpins the contained object, offering a simpler way to handle mutable access through pinned references. This resolves unsoundness with Drop by ensuring pinned references can project as long as specific criteria are met. UnpinCell provides a barrier making objects inside never

3m read timeFrom without.boats
Post cover image

Sort: