pub trait ConstZero: Zero {
    const ZERO: Self;
}
Expand description

Trait for associating a constant representing zero.

Types which impl this trait automatically receive a blanket impl of Zero.

Required Associated Constants§

source

const ZERO: Self

The value 0.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ConstZero for Limb

source§

const ZERO: Self = Self::ZERO

source§

impl<MOD: ConstMontyParams<LIMBS>, const LIMBS: usize> ConstZero for ConstMontyForm<MOD, LIMBS>

source§

const ZERO: Self = Self::ZERO

source§

impl<const LIMBS: usize> ConstZero for Uint<LIMBS>

source§

const ZERO: Self = Self::ZERO