PowMod2

Trait PowMod2 

Source
pub trait PowMod2<Rhs>
where Self: One, Rhs: IsEven,
{ // Provided method fn pow_mod2(self, rhs: Rhs) -> Self { ... } }

Provided Methods§

Source

fn pow_mod2(self, rhs: Rhs) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, Rhs> PowMod2<Rhs> for T
where T: One, Rhs: IsEven,