rinia 0.0.19

Stable numeric foundations for graphics, animation, and simulation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::scalar::{SignedInt, UnsignedInt};

/// Provides the corresponding signed integer type.
pub trait SignedEquivalent {
    /// The corresponding signed integer type.
    type Signed: SignedInt;
}

/// Provides the corresponding unsigned integer type.
pub trait UnsignedEquivalent {
    /// The corresponding unsigned integer type.
    type Unsigned: UnsignedInt;
}