Trait crypto_bigint::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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl NegMod for UInt<1>

§

type Output = UInt<1>

source§

impl NegMod for UInt<2>

§

type Output = UInt<2>

source§

impl NegMod for UInt<3>

§

type Output = UInt<3>

source§

impl NegMod for UInt<4>

§

type Output = UInt<4>

source§

impl NegMod for UInt<5>

§

type Output = UInt<5>

source§

impl NegMod for UInt<6>

§

type Output = UInt<6>

source§

impl NegMod for UInt<7>

§

type Output = UInt<7>

source§

impl NegMod for UInt<8>

§

type Output = UInt<8>

source§

impl NegMod for UInt<9>

§

type Output = UInt<9>

source§

impl NegMod for UInt<10>

§

type Output = UInt<10>

source§

impl NegMod for UInt<11>

§

type Output = UInt<11>

source§

impl NegMod for UInt<12>

§

type Output = UInt<12>