Add implementation of PointLike for &Destination.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nolan Darilek 2022-07-18 11:53:33 -05:00
parent 410b07826c
commit 2d00bbb2db

View File

@ -29,6 +29,7 @@ struct Calculating(Task<Option<Path>>);
pub struct Destination(pub (i32, i32)); pub struct Destination(pub (i32, i32));
impl_pointlike_for_tuple_component!(Destination); impl_pointlike_for_tuple_component!(Destination);
impl_pointlike_for_tuple_component!(&Destination);
#[derive(Component, Clone, Debug, Default, Reflect)] #[derive(Component, Clone, Debug, Default, Reflect)]
#[reflect(Component)] #[reflect(Component)]