pub trait BetterExponent {
    fn power(self, number: usize) -> Self;
}
Expand description

Exponents for unsigned integers

Examples

use lemonmath::helper::BetterExponent;
 
let x = 2u32.pow(3);
 
assert_eq!(x, 8);

Required methods

Implementations on Foreign Types

Implementors