From 5d514d3d331b718f1ece73fa4beb9c1ce965ba04 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Wed, 12 Feb 2025 00:59:13 +0100 Subject: [PATCH] Adds todo notes --- weaponry/src/weaponry_structs/equipement_into_impls.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/weaponry/src/weaponry_structs/equipement_into_impls.rs b/weaponry/src/weaponry_structs/equipement_into_impls.rs index 3aae092..5beefef 100644 --- a/weaponry/src/weaponry_structs/equipement_into_impls.rs +++ b/weaponry/src/weaponry_structs/equipement_into_impls.rs @@ -1,5 +1,10 @@ // Workspace: weaponry // File: weaponry/src/weaponry_structs/equipement_into_impls.rs +// TODO: At some point a trait might want to be used to use these into instead of calling it directly +// : Doing so would ensure all prerequists are met +// : Another way of doing so might be to instead use Into instead +// : Another way would be to add a filter field that would allow or not the combinaison and abstract all +// logic that would be into doing multi traits things //! Implementations to transform all Specialized equipement into a generic Equipement //! A specific implementation could be preferable, but this simplicity might allow for easier developpement