Skip to content

Commit

Permalink
Add some todos
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Sep 7, 2024
1 parent 4511c98 commit 1d3b36a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nuit-core/src/utils/binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> {
Expand Down

0 comments on commit 1d3b36a

Please sign in to comment.