diff options
Diffstat (limited to 'engine-ecs/src/pair.rs')
| -rw-r--r-- | engine-ecs/src/pair.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engine-ecs/src/pair.rs b/engine-ecs/src/pair.rs index 98f0257..834077c 100644 --- a/engine-ecs/src/pair.rs +++ b/engine-ecs/src/pair.rs @@ -46,6 +46,7 @@ impl<Relation, Target> Builder<Relation, Target> ty: NewRelation::type_reflection(), ty_id: TypeId::of::<NewRelation>(), name: type_name::<NewRelation>(), + is_sole: false, }), target_metadata: self.target_metadata, } @@ -71,6 +72,7 @@ impl<Relation, Target> Builder<Relation, Target> ty: NewTarget::type_reflection(), ty_id: TypeId::of::<NewTarget>(), name: type_name::<NewTarget>(), + is_sole: false, }), } } @@ -103,6 +105,7 @@ impl_multiple!( ty: NewTarget::type_reflection(), ty_id: TypeId::of::<NewTarget>(), name: type_name::<NewTarget>(), + is_sole: false, }), } } @@ -125,6 +128,7 @@ impl_multiple!( ty: NewRelation::type_reflection(), ty_id: TypeId::of::<NewRelation>(), name: type_name::<NewRelation>(), + is_sole: false, }), target_metadata: self.target_metadata, } @@ -770,6 +774,7 @@ pub struct MemberMetadata pub ty: Option<&'static TypeReflection>, pub ty_id: TypeId, pub name: &'static str, + pub is_sole: bool, } #[macro_export] |
