ta-rs
ta-rs copied to clipboard
Change `usize` to `std::num::NonZeroUsize` in `new()` methods
... and return Self instead of Option<Self>.
I.e. put the bounds checking that currently happens w/o opt-in inside each period-based indicator's new() method at the discretion of the crate user.