EmmanuelDodoo / modav_core

0 stars 0 forks source link

Ranged Scales #22

Open EmmanuelDodoo opened 1 month ago

EmmanuelDodoo commented 1 month ago

The plan for Scale is to have it support both a list of points and a range of points. The current implementation only supports the list variant. Implementation of ranged scales is currently halted, awaiting std::iter::Step coming to stable rust. Here's the PR for it.

Once the trait comes to stable, it can be implemented for Data::Integer and Data::Number. Not quite sure if it'll be possible for Data::Float

EmmanuelDodoo commented 2 weeks ago

I've implemented a basic version of this. Not fully ranged but not categorical like before