[][src]Struct secp256kfun::marker::Zero

pub struct Zero;

Something marked with Zero might be 0 i.e. the additive identity

Trait Implementations

impl<Z, S, Y> ChangeMark<Point<Y, S, Z>> for Zero[src]

type Out = Point<Y, S, Zero>

The result type of marking T with Self

impl<Z, S> ChangeMark<Scalar<S, Z>> for Zero[src]

type Out = Scalar<S, Zero>

The result type of marking T with Self

impl Clone for Zero[src]

impl Debug for Zero[src]

impl<Z: ZeroChoice> DecideZero<Z> for Zero[src]

type Out = Zero

If both arguments are NonZero then Out will be NonZero, otherwise Zero.

impl Default for Zero[src]

impl PartialEq<Zero> for Zero[src]

impl StructuralPartialEq for Zero[src]

impl ZeroChoice for Zero[src]

Auto Trait Implementations

impl RefUnwindSafe for Zero

impl Send for Zero

impl Sync for Zero

impl Unpin for Zero

impl UnwindSafe for Zero

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Z, S, Y, SNew> ChangeMark<Point<Y, S, Z>> for SNew where
    SNew: Secrecy
[src]

type Out = Point<Y, SNew, Z>

The result type of marking T with Self

impl<Z, S, SNew> ChangeMark<Scalar<S, Z>> for SNew where
    SNew: Secrecy
[src]

type Out = Scalar<SNew, Z>

The result type of marking T with Self

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Mark for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.