pybevy_storage 0.2.0

PyO3-free storage primitives for PyBevy - validity tracking, borrowed references
Documentation
  • Coverage
  • 85.16%
    132 out of 155 items documented0 out of 90 items with examples
  • Size
  • Source code size: 124.41 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.21 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 43s Average build duration of successful builds.
  • all releases: 1m 43s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • pybevy/pybevy
    29 1 17
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • blaind

PyO3-free storage primitives for PyBevy

This crate provides the foundational storage types that are independent of PyO3, enabling reuse from both the CPython (PyO3) and RustPython/WASM backends.

Storage Primitives

  • ValidityFlag / ValidityFlagWithMode - Runtime validity tracking
  • ValidityGuard - RAII guard for system execution scope
  • ValueStorage<T> - Generic storage for Copy types (Vec3, Quat, etc.)
  • FieldStorage<T> - Generic storage for non-Copy types (TextureAtlas, etc.)
  • ComponentStorage<T> - Generic storage for ECS components
  • ResourceStorage<T> - Generic storage for ECS resources
  • AssetStorage<T> - Generic storage for Bevy assets
  • ListStorage<T> - Generic storage for Vec fields
  • BorrowableStorage / FromBorrowedStorage - Traits for borrowed field access