Module :: reflect_tools
Runtime type reflection system providing traits, descriptors, and utilities for dynamic inspection of Rust types. Enables introspection of type names, sizes, elements, and structure at runtime without compile-time knowledge of the concrete type.
Basic use-case
use *;
let value = vec!;
let entity = reflect;
println!; // "Vec"
println!; // 3
println!; // true
for kv in entity.elements
To add to your project
Try out from the repository