pub struct PedersenOpening(/* private fields */);
Expand description
Pedersen opening type.
Instances of Pedersen openings are zeroized on drop.
Implementations§
Trait Implementations§
Source§impl<'a, 'b> Add<&'b PedersenOpening> for &'a PedersenOpening
impl<'a, 'b> Add<&'b PedersenOpening> for &'a PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
+
operator.Source§fn add(self, opening: &'b PedersenOpening) -> PedersenOpening
fn add(self, opening: &'b PedersenOpening) -> PedersenOpening
Performs the
+
operation. Read moreSource§impl<'b> Add<&'b PedersenOpening> for PedersenOpening
impl<'b> Add<&'b PedersenOpening> for PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
+
operator.Source§fn add(self, rhs: &'b PedersenOpening) -> PedersenOpening
fn add(self, rhs: &'b PedersenOpening) -> PedersenOpening
Performs the
+
operation. Read moreSource§impl<'a> Add<PedersenOpening> for &'a PedersenOpening
impl<'a> Add<PedersenOpening> for &'a PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
+
operator.Source§fn add(self, rhs: PedersenOpening) -> PedersenOpening
fn add(self, rhs: PedersenOpening) -> PedersenOpening
Performs the
+
operation. Read moreSource§impl Add for PedersenOpening
impl Add for PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
+
operator.Source§fn add(self, rhs: PedersenOpening) -> PedersenOpening
fn add(self, rhs: PedersenOpening) -> PedersenOpening
Performs the
+
operation. Read moreSource§impl Clone for PedersenOpening
impl Clone for PedersenOpening
Source§fn clone(&self) -> PedersenOpening
fn clone(&self) -> PedersenOpening
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ConstantTimeEq for PedersenOpening
impl ConstantTimeEq for PedersenOpening
Source§impl Debug for PedersenOpening
impl Debug for PedersenOpening
Source§impl Default for PedersenOpening
impl Default for PedersenOpening
Source§fn default() -> PedersenOpening
fn default() -> PedersenOpening
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PedersenOpening
impl<'de> Deserialize<'de> for PedersenOpening
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a, 'b> Mul<&'b PedersenOpening> for &'a Scalar
impl<'a, 'b> Mul<&'b PedersenOpening> for &'a Scalar
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
*
operator.Source§fn mul(self, opening: &'b PedersenOpening) -> PedersenOpening
fn mul(self, opening: &'b PedersenOpening) -> PedersenOpening
Performs the
*
operation. Read moreSource§impl<'b> Mul<&'b PedersenOpening> for Scalar
impl<'b> Mul<&'b PedersenOpening> for Scalar
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: &'b PedersenOpening) -> PedersenOpening
fn mul(self, rhs: &'b PedersenOpening) -> PedersenOpening
Performs the
*
operation. Read moreSource§impl<'a, 'b> Mul<&'b Scalar> for &'a PedersenOpening
impl<'a, 'b> Mul<&'b Scalar> for &'a PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
*
operator.Source§impl<'b> Mul<&'b Scalar> for PedersenOpening
impl<'b> Mul<&'b Scalar> for PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
*
operator.Source§impl<'a> Mul<PedersenOpening> for &'a Scalar
impl<'a> Mul<PedersenOpening> for &'a Scalar
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: PedersenOpening) -> PedersenOpening
fn mul(self, rhs: PedersenOpening) -> PedersenOpening
Performs the
*
operation. Read moreSource§impl Mul<PedersenOpening> for Scalar
impl Mul<PedersenOpening> for Scalar
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: PedersenOpening) -> PedersenOpening
fn mul(self, rhs: PedersenOpening) -> PedersenOpening
Performs the
*
operation. Read moreSource§impl<'a> Mul<Scalar> for &'a PedersenOpening
impl<'a> Mul<Scalar> for &'a PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
*
operator.Source§impl Mul<Scalar> for PedersenOpening
impl Mul<Scalar> for PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
*
operator.Source§impl PartialEq for PedersenOpening
impl PartialEq for PedersenOpening
Source§impl Serialize for PedersenOpening
impl Serialize for PedersenOpening
Source§impl<'a, 'b> Sub<&'b PedersenOpening> for &'a PedersenOpening
impl<'a, 'b> Sub<&'b PedersenOpening> for &'a PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
-
operator.Source§fn sub(self, opening: &'b PedersenOpening) -> PedersenOpening
fn sub(self, opening: &'b PedersenOpening) -> PedersenOpening
Performs the
-
operation. Read moreSource§impl<'b> Sub<&'b PedersenOpening> for PedersenOpening
impl<'b> Sub<&'b PedersenOpening> for PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: &'b PedersenOpening) -> PedersenOpening
fn sub(self, rhs: &'b PedersenOpening) -> PedersenOpening
Performs the
-
operation. Read moreSource§impl<'a> Sub<PedersenOpening> for &'a PedersenOpening
impl<'a> Sub<PedersenOpening> for &'a PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: PedersenOpening) -> PedersenOpening
fn sub(self, rhs: PedersenOpening) -> PedersenOpening
Performs the
-
operation. Read moreSource§impl Sub for PedersenOpening
impl Sub for PedersenOpening
Source§type Output = PedersenOpening
type Output = PedersenOpening
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: PedersenOpening) -> PedersenOpening
fn sub(self, rhs: PedersenOpening) -> PedersenOpening
Performs the
-
operation. Read moreSource§impl Zeroize for PedersenOpening
impl Zeroize for PedersenOpening
impl Eq for PedersenOpening
Auto Trait Implementations§
impl Freeze for PedersenOpening
impl RefUnwindSafe for PedersenOpening
impl Send for PedersenOpening
impl Sync for PedersenOpening
impl Unpin for PedersenOpening
impl UnwindSafe for PedersenOpening
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more