Skip to main content

PowIntExponent

Trait Alias PowIntExponent 

Source
trait PowIntExponent = ScalarCore
    + Pow<i8, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, i8>>
    + Pow<u8, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, u8>>
    + Pow<i16, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, i16>>
    + Pow<u16, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, u16>>
    + Pow<i32, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, i32>>
    + Pow<u32, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, u32>>
    + Pow<i64, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, i64>>
    + Pow<u64, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, u64>>
    + Pow<i128, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, i128>>
    + Pow<u128, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, u128>>
    + Pow<isize, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, isize>>
    + Pow<usize, Error = PowIntExponentErrors<<Self as ScalarCore>::RawScalarType, usize>>;
Expand description

A trait alias for scalar types that can be raised to the power of any primitive integer.

This alias requires ScalarCore, so the raw type used by every Pow error is ScalarCore::RawScalarType. It also requires a Pow implementation for each signed and unsigned primitive integer exponent.