add readmes
This commit is contained in:
1 parent
280d094f67
commit
4447709ac8
4 files changed
+71
-1
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
Generational Box is a runtime for Rust that allows any static type to implement `Copy`. It can be combined with a global runtime to create an ergonomic state solution like `dioxus-signals`. This crate contains no `unsafe` code.
|
||||
|
||||
There are three main types that manage state in Generational Box:
|
||||
Three main types manage state in Generational Box:
|
||||
|
||||
- Store: Handles recycling generational boxes that have been dropped. Your application should have one store or one store per thread.
|
||||
- Owner: Handles dropping generational boxes. The owner acts like a runtime lifetime guard. Any states that you create with an owner will be dropped when that owner is dropped.
|
||||
|
||||
Reference in new issue
Block a user