aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-07 19:42:02 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-07 19:42:02 +0800
commit9725bbc5a41e00a2b952cdfe4a04d472765c9e41 (patch)
tree05ef878bb5b95e32713349eb82ed74665eb9bfa9 /docs
parenta88a4478bfa9c18d49296460b98c0512f34794c4 (diff)
Add LazyRes for lazy resource initialization
Diffstat (limited to 'docs')
-rw-r--r--docs/example-pages/examples.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/example-pages/examples.json b/docs/example-pages/examples.json
index 4db968c..9022066 100644
--- a/docs/example-pages/examples.json
+++ b/docs/example-pages/examples.json
@@ -205,6 +205,20 @@
]
},
{
+ "id": "example-lazy-resources",
+ "name": "Lazy Resources",
+ "icon": "💤️",
+ "category": "advanced",
+ "desc": "Example Lazy Resources\n",
+ "tags": [
+ "LazyRes<Res>"
+ ],
+ "files": [
+ "src/main.rs",
+ "Cargo.toml"
+ ]
+ },
+ {
"id": "example-panic-unwind",
"name": "Panic Unwind",
"icon": "💥",