You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send, Sync, NonSend. Components are Send and Sync by their definition (in toecs). Non-Send resource should be fetched with NonSend and NonSendMut. res_scope needs to be relaxed to accept non-send resource types.
Add #[derive(GatBorrowWorld)]#[derive(AutoFetch)] for user-defined borrow types
Add #[derive(ComponentSet)] for easier insertion
Add World::run_arg, just like run_with_data in shipyard
Borrow improvements
Add lifetime-free BorrowWorld: GatBorrowWorld with the GAT hack
Remove the GAT hack with the real GAT coming in Rust
Implement GatBorrowWorldAutoFetch for tuples. This is great for system-like function with ordinary parameters, just like RenderCommand in Bevy or run_with_data in shipyard
Not on master yet.
#[derive(Component)]#[derive(Resource)]as in Bevy?Send,Sync,NonSend. Components areSendandSyncby their definition (intoecs). Non-Sendresource should be fetched withNonSendandNonSendMut.res_scopeneeds to be relaxed to accept non-send resource types.EntityMutfor explicit entity validation? → No (Make sure to invalidateEntity#3)#[derive(GatBorrowWorld)]#[derive(AutoFetch)]for user-defined borrow types#[derive(ComponentSet)]for easier insertionWorld::run_arg, just like run_with_data inshipyardBorrowWorld:GatBorrowWorldwith the GAT hackGatBorrowWorldAutoFetchfor tuples. This is great for system-like function with ordinary parameters, just likeRenderCommandin Bevy or run_with_data inshipyardWorld::run_exwhere&mut Worldis allowedSystemResultif necessaryrayonor custom task schedulerCommandBuffer,CommandOption<Res<T>>, ..)querymoduleDenseIterBoxSystem