Trait typenum::type_operators::Pow [] [src]

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

A type operator that provides exponentiation by repeated squaring.

Example

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

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

Associated Types

type Output

The result of the exponentiation.

Implementors