self_cell
self_cell copied to clipboard
Safe-to-use proc-macro-free self-referential structs in stable Rust.
A frequent use case I have is multiple `self_cell` types which all have an owner of `Arc`, and I'd like to be able to "map" between them. Here's an example...
Hi thanks for the library! I do hope the builder function can support async functions. Context: I am considering using this package to implement returning borrowed types in https://github.com/fzyzcjy/flutter_rust_bridge. Thus...
Hi there! I found three minor details that could be fixed.
Would it be possible to have `&'a mut $Owner`: ```rust fn try_new( owner: $Owner, dependent_builder: impl for Result ::core::ops::FnOnce(&'a $Owner) -> Result