wolfgirl.dev
wolfgirl.dev - Pining for Arc Downcasting in Rust
Author shows how Pin<Arc<MustPin<T>>> lets cheap cloning and downcasting of Arc-wrapped values via a self-referential struct that preserves pointer stability.
One line. Many voicesSeek and you shall find
wolfgirl.dev
Author shows how Pin<Arc<MustPin<T>>> lets cheap cloning and downcasting of Arc-wrapped values via a self-referential struct that preserves pointer stability.