From 1d3b36a446e0af0f2313cab4477707d1b389b110 Mon Sep 17 00:00:00 2001 From: fwcd Date: Sat, 7 Sep 2024 05:51:44 +0200 Subject: [PATCH] Add some todos --- nuit-core/src/utils/binding.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nuit-core/src/utils/binding.rs b/nuit-core/src/utils/binding.rs index 056b4eb..3df92a8 100644 --- a/nuit-core/src/utils/binding.rs +++ b/nuit-core/src/utils/binding.rs @@ -4,6 +4,10 @@ use crate::clone; use super::Animation; +// TODO: Extract a trait from get/set/set_with and implement it for `State` too. This would let us implement `project` generically. +// TODO: Move this to a top-level `binding` folder/module? +// TODO: Add tests + /// A pair of a getter and a setter, encapsulating a reference to some value. #[derive(Clone)] pub struct Binding {