WeakSelf
WeakSelf is simple way to have a Weak pointer inside a data structure pointing to itself.
Use Case
Sometimes you want to create a struct
with a pointer to itself or just some other recursive data structure.
This create helps you do that:
Dependencies
This package depends on std only
Usage
To use WeakSelf, add this to your Cargo.toml
:
[]
= "1.0.2"
License
Licensed under the terms of MIT license and the Apache License (Version 2.0).
See LICENSE-MIT and LICENSE-APACHE for details.