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
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, awaitingstd::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
andData::Number
. Not quite sure if it'll be possible forData::Float