mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 03:23:20 +00:00
18 lines
507 B
Rust
18 lines
507 B
Rust
|
//! Types that enable reflection support.
|
||
|
|
||
|
use crate::entity::Entity;
|
||
|
use bevy_reflect::{
|
||
|
impl_from_reflect_value, impl_reflect_value, ReflectDeserialize, ReflectSerialize,
|
||
|
};
|
||
|
|
||
|
mod component;
|
||
|
mod map_entities;
|
||
|
mod resource;
|
||
|
|
||
|
pub use component::{ReflectComponent, ReflectComponentFns};
|
||
|
pub use map_entities::ReflectMapEntities;
|
||
|
pub use resource::{ReflectResource, ReflectResourceFns};
|
||
|
|
||
|
impl_reflect_value!((in bevy_ecs) Entity(Hash, PartialEq, Serialize, Deserialize));
|
||
|
impl_from_reflect_value!(Entity);
|