rinia 0.0.12

Stable numeric foundations for graphics, animation, and simulation.
Documentation
1
2
3
4
5
6
7
8
9
use crate::scalar::{HasScalar, Scalar};

// Blanket impl for HasScalar for all scalar types.
impl<T> HasScalar for T
where
    T: Scalar,
{
    type Scalar = T;
}