facet-types

Crates.iofacet-types
lib.rsfacet-types
version0.2.4
created_at2025-04-06 12:11:10.912117+00
updated_at2025-04-10 06:48:18.256735+00
descriptionCore types and traits for the facet reflection library
homepage
repositoryhttps://github.com/facet-rs/facet
max_upload_size
id1622852
size64,820
Amos Wenger (fasterthanlime)

documentation

README

Facet logo - a reflection library for Rust   facet-types

experimental free of syn crates.io documentation MIT/Apache-2.0 licensed

Thanks to all individual and corporate sponsors, without whom this work could not exist:

Ko-fi GitHub Sponsors Patreon Zed

Defines the core types used throughout the facet ecosystem for runtime reflection:

  • Shape: The central type that describes the memory layout and capabilities of a type
  • Various vtables that define how to manipulate types at runtime
  • The Def tree, which describes type definitions (structs, enums, etc.)

This crate is foundational to facet's reflection capabilities, providing the type system that enables safe runtime type manipulation.

Key Components

  • Memory layout information (size, alignment, etc.)

  • Type definition hierarchies

  • Runtime type manipulation vtables

  • Safe type erasure primitives

License

Licensed under either of:

at your option.

Commit count: 1848

cargo fmt