chrissimpkins/vectora

Broaden Vector numeric type cast support

Closed this issue · 0 comments

Broaden numeric type cast support with to_[TYPE] methods that are defined in the num::ToPrimitive trait. These methods will return Option<Vector<[TYPE], N>> with None returned when the cast does not fall within the range of scalars supported by the type.