Skip to main content

NegMod

Trait NegMod 

Source
pub trait NegMod {
    type Output;

    // Required method
    fn neg_mod(&self, p: &Self) -> Self::Output;
}
Expand description

Compute -self mod p.

Required Associated Types§

Source

type Output

Output type.

Required Methods§

Source

fn neg_mod(&self, p: &Self) -> Self::Output

Compute -self mod p.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl NegMod for UInt<1>

Source§

impl NegMod for UInt<2>

Source§

impl NegMod for UInt<3>

Source§

impl NegMod for UInt<4>

Source§

impl NegMod for UInt<5>

Source§

impl NegMod for UInt<6>

Source§

impl NegMod for UInt<7>

Source§

impl NegMod for UInt<8>

Source§

impl NegMod for UInt<9>

Source§

impl NegMod for UInt<10>

Source§

type Output = UInt<10>

Source§

impl NegMod for UInt<11>

Source§

type Output = UInt<11>

Source§

impl NegMod for UInt<12>

Source§

type Output = UInt<12>