Trait Abs
pub trait Abs
A type operator that returns the absolute value.
Example
use typenum::{Abs, Integer, N5};
assert_eq!(<N5 as Abs>::Output::to_i32(), 5);
Associated Types
type Output;The absolute value.
Abspub trait Abs
A type operator that returns the absolute value.
use typenum::{Abs, Integer, N5};
assert_eq!(<N5 as Abs>::Output::to_i32(), 5);
type Output;The absolute value.