4 ms·
Bevy is structured in a way that you really don't have to interact with the borrow-checker very much. Components and Resources will probably always use owned ty
by paholg 3y ago
Bevy is structured in a way that you really don't have to interact with the borrow-checker very much. Components and Resources will probably always use owned types, and Querys and Refs let you interact with them without having to worry too much.
I've been playing with Bevy a bit, and I just checked my repo; it has 0 lifetimes.
- felipellrocha 3y agoThat is usually the case in Rust. One mostly deals with lifetimes in library code