[][src]Struct ecdsa::dev::curve::Scalar

pub struct Scalar(_);
This is supported on crate feature dev only.

Example scalar type

Trait Implementations

impl<'_> Add<&'_ Scalar> for Scalar[src]

type Output = Scalar

The resulting type after applying the + operator.

impl Add<Scalar> for Scalar[src]

type Output = Scalar

The resulting type after applying the + operator.

impl<'_> AddAssign<&'_ Scalar> for Scalar[src]

impl AddAssign<Scalar> for Scalar[src]

impl Clone for Scalar[src]

impl ConditionallySelectable for Scalar[src]

impl ConstantTimeEq for Scalar[src]

impl Copy for Scalar[src]

impl Debug for Scalar[src]

impl Default for Scalar[src]

impl Eq for Scalar[src]

impl Field for Scalar[src]

impl<'_> From<&'_ Scalar> for FieldBytes[src]

impl From<Scalar> for FieldBytes[src]

impl From<u64> for Scalar[src]

impl FromDigest<ExampleCurve> for Scalar[src]

impl<'_> Mul<&'_ Scalar> for Scalar[src]

type Output = Scalar

The resulting type after applying the * operator.

impl<'_> Mul<&'_ Scalar> for ProjectivePoint[src]

type Output = ProjectivePoint

The resulting type after applying the * operator.

impl Mul<Scalar> for Scalar[src]

type Output = Scalar

The resulting type after applying the * operator.

impl Mul<Scalar> for ProjectivePoint[src]

type Output = ProjectivePoint

The resulting type after applying the * operator.

impl<'_> MulAssign<&'_ Scalar> for Scalar[src]

impl<'_> MulAssign<&'_ Scalar> for ProjectivePoint[src]

impl MulAssign<Scalar> for Scalar[src]

impl MulAssign<Scalar> for ProjectivePoint[src]

impl Neg for Scalar[src]

type Output = Scalar

The resulting type after applying the - operator.

impl PartialEq<Scalar> for Scalar[src]

impl PrimeField for Scalar[src]

type Repr = FieldBytes

The prime field can be converted back and forth into this binary representation. Read more

type ReprBits = [u64; 4]

The backing store for a bit representation of a prime field element.

impl StructuralEq for Scalar[src]

impl StructuralPartialEq for Scalar[src]

impl<'_> Sub<&'_ Scalar> for Scalar[src]

type Output = Scalar

The resulting type after applying the - operator.

impl Sub<Scalar> for Scalar[src]

type Output = Scalar

The resulting type after applying the - operator.

impl<'_> SubAssign<&'_ Scalar> for Scalar[src]

impl SubAssign<Scalar> for Scalar[src]

impl Zeroize for Scalar[src]

Auto Trait Implementations

impl RefUnwindSafe for Scalar

impl Send for Scalar

impl Sync for Scalar

impl Unpin for Scalar

impl UnwindSafe for Scalar

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<T> Conv for T

impl<T> FmtForward for T

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

impl<T, Rhs, Output> GroupOps<Rhs, Output> for T where
    T: Add<Rhs, Output = Output> + Sub<Rhs, Output = Output> + AddAssign<Rhs> + SubAssign<Rhs>, 

impl<T, Rhs, Output> GroupOpsOwned<Rhs, Output> for T where
    T: for<'r> GroupOps<&'r Rhs, Output>, 

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

impl<F> Invert for F where
    F: Field, 
[src]

type Output = F

Field element type

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, Rhs, Output> ScalarMul<Rhs, Output> for T where
    T: Mul<Rhs, Output = Output> + MulAssign<Rhs>, 

impl<T, Rhs, Output> ScalarMulOwned<Rhs, Output> for T where
    T: for<'r> ScalarMul<&'r Rhs, Output>, 

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

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.

impl<Z> Zeroize for Z where
    Z: DefaultIsZeroes
[src]