我去了他们的网站,并开始了设置的事情,但当我去编译不会。error: could not compile `bevy_render_macros` due to previous error
warning: build failed, waiting\Users\drew0\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_reflect_derive-0.9.0\src\type_uuid.rs/rust<
我正在学习Rust和Bevy引擎,我希望在整个应用程序生命周期中保持某些资产(如Fonts)的加载。font: res_font.ui.clone(), color: Color::WHITE, ...在底部的函数setup_ui()中,我使用.clone()复制该资产。>`
move occurs because value has type `bevy::prelude::Handl
我正在尝试理解Bevy的IntoForEachSystem trait的实现以及它与底层Hecs Query and Fetch traits交互的方式。Hecs有查询类型(您在调用query::<T>时请求的内容)和项目类型(查询返回的内容)。on the impl of `IntoForEachSystem<&i32>` for `for<'r> fn(&'r i32) {hmm}` 我认为编译