Trait typenum::Pow [] [src]

pub trait Pow<Rhs = Self> {
    type Output;
}

A type operator that provides exponentiation by repeated squaring.

Example

use typenum::Pow;
use typenum::int::Integer;
use typenum::consts::{N3, P3};

assert_eq!(<N3 as Pow<P3>>::Output::to_i32(), -27);

Associated Types

type Output

Implementors