Trait _

Source
pub trait _: Sized {
    // Required methods
    fn zero() -> Self;
    fn is_zero(&self) -> bool;
}

Required Methods§

Source

fn zero() -> Self

Source

fn is_zero(&self) -> bool

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.

Implementations on Foreign Types§

Source§

impl<P> Zero for Affine<P>

Source§

fn zero() -> Affine<P>

Source§

fn is_zero(&self) -> bool

Source§

impl<P> Zero for Projective<P>

Source§

impl<P> Zero for Affine<P>

Source§

fn zero() -> Affine<P>

Source§

fn is_zero(&self) -> bool

Source§

impl<P> Zero for Projective<P>

Implementors§

Source§

impl<P> Zero for Fp6<P>
where P: Fp6Parameters,

Source§

impl<P> Zero for Fp2<P>
where P: Fp2Parameters,

Source§

impl<P> Zero for Fp12<P>
where P: Fp12Parameters,

Source§

impl<P> Zero for Fp256<P>
where P: Fp256Parameters,

Source§

impl<P> Zero for Fp384<P>
where P: Fp384Parameters,