self_cell icon indicating copy to clipboard operation
self_cell copied to clipboard

Safe-to-use proc-macro-free self-referential structs in stable Rust.

Results 4 self_cell issues
Sort by recently updated
recently updated
newest added

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