Trait diffgeom::typenum::Unsigned  
                   
                       [−]
                   
               
pub trait Unsigned {
    fn to_u8() -> u8;
    fn to_u16() -> u16;
    fn to_u32() -> u32;
    fn to_u64() -> u64;
    fn to_usize() -> usize;
    fn to_i8() -> i8;
    fn to_i16() -> i16;
    fn to_i32() -> i32;
    fn to_i64() -> i64;
    fn to_isize() -> isize;
}The marker trait for compile time unsigned integers.
This trait should not be implemented for anything outside this crate.
Example
use typenum::{U3, Unsigned}; assert_eq!(U3::to_u32(), 3);