[][src]Trait secp256kfun::marker::ChangeMark

pub trait ChangeMark<T> {
    type Out;
    pub fn change_mark(item: T) -> Self::Out;
}

A trait that is implemented on marker types to indicate that they can mark the type T.

Associated Types

type Out[src]

The result type of marking T with Self

Loading content...

Required methods

pub fn change_mark(item: T) -> Self::Out[src]

Marks item with Self.

Loading content...

Implementations on Foreign Types

impl<T, A, B> ChangeMark<T> for (A, B) where
    A: ChangeMark<T>,
    B: ChangeMark<<A as ChangeMark<T>>::Out>, 
[src]

type Out = <B as ChangeMark<A::Out>>::Out

impl<T, A, B, C> ChangeMark<T> for (A, B, C) where
    A: ChangeMark<T>,
    B: ChangeMark<<A as ChangeMark<T>>::Out>,
    C: ChangeMark<<B as ChangeMark<<A as ChangeMark<T>>::Out>>::Out>, 
[src]

type Out = C::Out

Loading content...

Implementors

impl<'a, S: Secrecy> ChangeMark<&'a [u8]> for S[src]

type Out = Slice<'a, S>

impl<'a, S: Secrecy, SNew: Secrecy> ChangeMark<Slice<'a, S>> for SNew[src]

type Out = Slice<'a, SNew>

impl<T, S, Z> ChangeMark<Point<T, S, Z>> for Normal[src]

type Out = Point<Normal, S, Z>

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

type Out = Option<Scalar<S, NonZero>>

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

type Out = Scalar<S, Zero>

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

type Out = Scalar<SNew, Z>

impl<Z, S, T> ChangeMark<Point<T, S, Z>> for Jacobian[src]

type Out = Point<Jacobian, S, Z>

impl<Z, S, T> ChangeMark<Point<T, S, Z>> for NonZero[src]

type Out = Option<Point<T, S, NonZero>>

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

type Out = Point<Y, S, Zero>

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

type Out = Point<Y, SNew, Z>

Loading content...