DEV Community

Custom commands in Bevy with extension traits

Ata Kuyumcu on January 03, 2022

Bevy is an ECS-based game engine built in Rust. Extension traits are a pattern in rust that allows you to add methods to an existing type defined o...
Collapse
 
spookythghost profile image
Spooky Th Ghost

How are you able to use self: Box and &mut Resources as params for write() in the first example?