Struct cry::primitive::point::Point [−][src]
pub struct Point<P: DisLogPoint>(pub P);
Expand description
Point wraper type.
This type support some operators based on overload.
A + B
A += B
A - B
A -= B
a * B
orB * a
A *= b
A == B
A != B
Tuple Fields
0: P
Implementations
Trait Implementations
Performs the +=
operation. Read more
type OutputSize = P::OutputSize
Generate A type from bytes.
impl<'a, 'b, P: DisLogPoint<Scalar = S>, S: ScalarNumber> MulAssign<&'b Scalar<S>> for Point<P>
impl<'a, 'b, P: DisLogPoint<Scalar = S>, S: ScalarNumber> MulAssign<&'b Scalar<S>> for Point<P>
Performs the *=
operation. Read more
Performs the -=
operation. Read more
Auto Trait Implementations
impl<P> RefUnwindSafe for Point<P> where
P: RefUnwindSafe,
impl<P> UnwindSafe for Point<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more