//! Generic scalar [`CastFrom`]/[`CastTo`] conversion helpers.
/// Helper trait for generic casting between SIMD scalar types.
///
/// Primitive numeric implementations follow Rust's `as` conversion semantics.
/// In particular, float-to-integer conversions truncate toward zero and
/// saturate values outside the destination range.
/// Helper trait for generic casting to another SIMD scalar type.