# Objective - Primitives should not use poorly defined types like `usize`, especially since they are serializable ## Solution - Use `u32` instead of `usize` - The generic array types do not need to be changed because this size is not actually stored or serialized anywhere --- ## Migration Guide - `RegularPolygon` now uses `u32` instead of `usize` for the number of sides |
||
|---|---|---|
| .. | ||
| bounding | ||
| primitives | ||
| rects | ||
| sampling | ||
| affine3.rs | ||
| aspect_ratio.rs | ||
| common_traits.rs | ||
| compass.rs | ||
| cubic_splines.rs | ||
| direction.rs | ||
| float_ord.rs | ||
| lib.rs | ||
| ray.rs | ||
| rotation2d.rs | ||