Struct cry::primitive::scalar::Scalar [−][src]
Scalar types.
Implementations
impl<S: ScalarNumber> Scalar<S>[src]
Trait Implementations
impl<'a, 'b, S: ScalarNumber> Add<&'b Scalar<S>> for &'a Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the + operator.
fn add(self, rhs: &'b Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Add<&'b Scalar<S>> for Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the + operator.
fn add(self, rhs: &'b Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Add<Scalar<S>> for &'a Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the + operator.
fn add(self, rhs: Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Add<Scalar<S>> for Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the + operator.
fn add(self, rhs: Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> AddAssign<&'b Scalar<S>> for Scalar<S>[src]
fn add_assign(&mut self, rhs: &'b Scalar<S>)[src]
impl<'a, 'b, S: ScalarNumber> AddAssign<Scalar<S>> for Scalar<S>[src]
fn add_assign(&mut self, rhs: Scalar<S>)[src]
impl<S: ScalarNumber> Bytes for Scalar<S>[src]
type OutputSize = S::OutputSize
fn to_bytes(&self) -> Output<Self>[src]
fn from_bytes(data: Output<Self>) -> Self[src]
impl<S: Clone + ScalarNumber> Clone for Scalar<S>[src]
impl<S: Debug + ScalarNumber> Debug for Scalar<S>[src]
impl<S: ScalarNumber> FromBytesRef for Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<&'b Point<P>> for &'a Scalar<S>[src]
type Output = Point<P>
The resulting type after applying the * operator.
fn mul(self, rhs: &'b Point<P>) -> Point<P>[src]
impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<&'b Point<P>> for Scalar<S>[src]
type Output = Point<P>
The resulting type after applying the * operator.
fn mul(self, rhs: &'b Point<P>) -> Point<P>[src]
impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<&'b Scalar<S>> for &'a Point<P>[src]
type Output = Point<P>
The resulting type after applying the * operator.
fn mul(self, rhs: &'b Scalar<S>) -> Point<P>[src]
impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<&'b Scalar<S>> for Point<P>[src]
type Output = Point<P>
The resulting type after applying the * operator.
fn mul(self, rhs: &'b Scalar<S>) -> Point<P>[src]
impl<'a, 'b, S: ScalarNumber> Mul<&'b Scalar<S>> for &'a Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the * operator.
fn mul(self, rhs: &'b Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Mul<&'b Scalar<S>> for Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the * operator.
fn mul(self, rhs: &'b Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<Point<P>> for &'a Scalar<S>[src]
type Output = Point<P>
The resulting type after applying the * operator.
fn mul(self, rhs: Point<P>) -> Point<P>[src]
impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<Point<P>> for Scalar<S>[src]
type Output = Point<P>
The resulting type after applying the * operator.
fn mul(self, rhs: Point<P>) -> Point<P>[src]
impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<Scalar<S>> for &'a Point<P>[src]
type Output = Point<P>
The resulting type after applying the * operator.
fn mul(self, rhs: Scalar<S>) -> Point<P>[src]
impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<Scalar<S>> for Point<P>[src]
type Output = Point<P>
The resulting type after applying the * operator.
fn mul(self, rhs: Scalar<S>) -> Point<P>[src]
impl<'a, 'b, S: ScalarNumber> Mul<Scalar<S>> for &'a Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the * operator.
fn mul(self, rhs: Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Mul<Scalar<S>> for Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the * operator.
fn mul(self, rhs: Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, P: DisLogPoint<Scalar = S>, S: ScalarNumber> MulAssign<&'b Scalar<S>> for Point<P>[src]
fn mul_assign(&mut self, rhs: &'b Scalar<S>)[src]
impl<'a, 'b, S: ScalarNumber> MulAssign<&'b Scalar<S>> for Scalar<S>[src]
fn mul_assign(&mut self, rhs: &'b Scalar<S>)[src]
impl<'a, 'b, S: ScalarNumber> MulAssign<Scalar<S>> for Scalar<S>[src]
fn mul_assign(&mut self, rhs: Scalar<S>)[src]
impl<S: ScalarNumber> Neg for Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the - operator.
fn neg(self) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Sub<&'b Scalar<S>> for &'a Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the - operator.
fn sub(self, rhs: &'b Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Sub<&'b Scalar<S>> for Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the - operator.
fn sub(self, rhs: &'b Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Sub<Scalar<S>> for &'a Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the - operator.
fn sub(self, rhs: Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> Sub<Scalar<S>> for Scalar<S>[src]
type Output = Scalar<S>
The resulting type after applying the - operator.
fn sub(self, rhs: Scalar<S>) -> Scalar<S>[src]
impl<'a, 'b, S: ScalarNumber> SubAssign<&'b Scalar<S>> for Scalar<S>[src]
fn sub_assign(&mut self, rhs: &'b Scalar<S>)[src]
impl<'a, 'b, S: ScalarNumber> SubAssign<Scalar<S>> for Scalar<S>[src]
fn sub_assign(&mut self, rhs: Scalar<S>)[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for Scalar<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for Scalar<S> where
S: Send,
S: Send,
impl<S> Sync for Scalar<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Scalar<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for Scalar<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,