Uses new Rust 2021
|0.8.1||Aug 23, 2022|
|0.8.0||Jul 30, 2022|
|0.0.1||Jun 18, 2022|
#51 in #game-engine
17,929 downloads per month
Used in 222 crates (4 directly)
bevy_ptr crate provides low-level abstractions for working with pointers in a more safe way than using rust's raw pointers.
Rust has lifetimed and typed references (
&'a T), unlifetimed and typed references (
*const T), but no lifetimed but untyped references.
bevy_ptr adds them, called
These types are lifetime-checked so can never lead to problems like use-after-frees and must always point to valid data.