CheckedPow

Trait CheckedPow 

Source
pub trait CheckedPow<Rhs = Self> {
    type Output;

    // Required method
    fn checked_pow(self, exp: Rhs) -> Option<Self::Output>;
}
Expand description

✅ aises self to the power of exp, returning None on overflow or invalid input.

§Panics

This function never panics.

Required Associated Types§

Required Methods§

Source

fn checked_pow(self, exp: Rhs) -> Option<Self::Output>

Implementors§