Crate bones_lib::prelude::bones_schema

Expand description

Simple reflection system based on the #[repr(C)] memory layout.

You can derive HasSchema for your Rust types to unlock integration with the bones_schema ecosystem, including bones_ecs and bones_asset.

Modules§

  • Allocation and collection utilities.
  • The prelude.
  • Schema-aware smart pointers.
  • Traits implementing raw function calls for cloning, dropping, and creating default values for Rust types.
  • Global schema registry.
  • Serde implementations for [Schema].

Structs§

Enums§

Traits§

  • Trait implemented for types that can produce an instance of themselves from a Rust type.
  • Trait implemented for types that have a [Schema].

Derive Macros§

  • Derive macro for the HasSchema trait.