NekoiNemo
Advanced Hands-on Rust: Numerous issues with Loading Menu parts (page 119-128
Setup Asset Store
On page 120 we’re told to make a fn setup in asset_manager, in a format of a bevy system, this is done after being told to uncomment adding setup fn as a system to bevy on the previous page, and told we will be implementing it now.
We never actually end up running an application using this code, as it gets discarded immediately after, without that being mentioned.
Later, on page 126 we use setup_asset_store fn that we never declared and never implement it after. Consulting with sources, the function we were supposed to write on 120 is that setup_asset_store, except it takes references to resources, not Res<> handles, and also returns an instance of AssetStore. Reader is never told to make these changes.
Workspace is ignored
Minor, but page 125 forgets that we’re using workspace and treats library’s Cargo.toml as having dependencies specified with versions
loading_menu re-exports
On page 126 we’re told to create loading_menu module, but never told to do blanket re-export of everything from it, despite the functions being used later as bevy_assets::setup (with function being declared in loading_menu.
The entirety of build() at the end
Not only all of the above, but the entire body of build() on page 128 is only annotated as us needing to add usage of Egui plugin to the setup, while completely ignoring the numerous additions and changes that are made to the function (namely, everything to do with assets in the last block)
It also uses T::default(). but we’re never told to update T’s constraints to also include + Default. And, unlike similar omission with Copy - this time the where T isn’t even shown in the code block
Popular Pragmatic Bookshelf topics
Other popular topics
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /zig
- /centos
- /deepseek
- /php
- /scala
- /react-native
- /lisp
- /textmate
- /sublime-text
- /nixos
- /debian
- /agda
- /django
- /kubuntu
- /deno
- /arch-linux
- /nodejs
- /ubuntu
- /revery
- /manjaro
- /spring
- /diversity
- /lua
- /julia
- /markdown
- /v








