Crates.io | easy_node |
lib.rs | easy_node |
version | 0.2.0 |
source | src |
created_at | 2024-02-11 14:47:57.587438 |
updated_at | 2024-02-12 02:37:44.400805 |
description | Smart pointer for graph nodes. |
homepage | |
repository | https://github.com/nossie531/easy_node |
max_upload_size | |
id | 1135873 |
size | 70,507 |
Smart pointer for graph nodes.
The author of this crate is not good at English.
Forgive me if the document is hard to read.
This crate provides some smart pointers optimized for managing graph data structures.
Nr
- like Rc
Nw
- like Weak
.NrCell
- newtype of Nr<RefCell<T>>
.NwCell
- newtype of Nw<RefCell<T>>
.These smart pointers behavior is similar to Rc
and Weak
.
However, there are several important differences between them.
See the API documentation for details.
v0.2.0
upgrade
to upgrade_ref
and support upgrade
like Weak
.