Provides compile-time type information for reflected types in Bevy
// Source: https://github.com/bevyengine/bevy | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
use crate::{
array::ArrayInfo, enums::EnumInfo, generics::impl_generic_info_methods, list::ListInfo,
map::MapInfo, set::SetInfo, structs::StructInfo, tuple::TupleInfo,
tuple_struct::TupleStructInfo, OpaqueInfo, ReflectKind, Type, TypePathTable,
};
use core::any::{Any, TypeId};
/// Compile-time type information for various reflected types.
///
/// Generally, for any given type, this value can be retrieved in one of four ways:
///
/// 1. [`Typed::type_info`]
/// 2. [`DynamicTyped::reflect_type_info`]
/// 3. [`PartialReflect::get_represented_type_info`]
/// 4. [`TypeRegistry::get_type_info`]
///
/// Each returns a static reference to [`TypeInfo`], b
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key