Module num
Expand description
Explicit numeric conversions used at UI/model boundaries.
Keeping the necessarily lossy casts here makes their policy consistent: integer narrowing and signed-to-unsigned conversions saturate instead of wrapping, while geometry conversions use Rust’s saturating float-to-int semantics. Call sites stay readable without scattering lint exceptions.