pub struct SignatureBlinding(/* private fields */);
Expand description
The type for blinding factors
Implementations§
Source§impl SignatureBlinding
impl SignatureBlinding
Sourcepub fn to_bytes_compressed_form(&self) -> [u8; 32]
pub fn to_bytes_compressed_form(&self) -> [u8; 32]
Convert to raw bytes compressed form
Sourcepub fn to_bytes_uncompressed_form(&self) -> [u8; 32]
pub fn to_bytes_uncompressed_form(&self) -> [u8; 32]
Convert to raw bytes uncompressed form
Trait Implementations§
Source§impl AsRef<Fr> for SignatureBlinding
impl AsRef<Fr> for SignatureBlinding
Source§impl Clone for SignatureBlinding
impl Clone for SignatureBlinding
Source§fn clone(&self) -> SignatureBlinding
fn clone(&self) -> SignatureBlinding
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 Debug for SignatureBlinding
impl Debug for SignatureBlinding
Source§impl Default for SignatureBlinding
impl Default for SignatureBlinding
Source§impl<'a> Deserialize<'a> for SignatureBlinding
impl<'a> Deserialize<'a> for SignatureBlinding
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SignatureBlinding
impl Display for SignatureBlinding
Source§impl From<&Fr> for SignatureBlinding
impl From<&Fr> for SignatureBlinding
Source§impl From<Fr> for SignatureBlinding
impl From<Fr> for SignatureBlinding
Source§impl HashElem for SignatureBlinding
impl HashElem for SignatureBlinding
Source§impl Ord for SignatureBlinding
impl Ord for SignatureBlinding
Source§fn cmp(&self, other: &SignatureBlinding) -> Ordering
fn cmp(&self, other: &SignatureBlinding) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SignatureBlinding
impl PartialEq for SignatureBlinding
Source§impl PartialOrd for SignatureBlinding
impl PartialOrd for SignatureBlinding
Source§impl RandomElem for SignatureBlinding
impl RandomElem for SignatureBlinding
Source§impl Serialize for SignatureBlinding
impl Serialize for SignatureBlinding
Source§impl TryFrom<&[u8]> for SignatureBlinding
impl TryFrom<&[u8]> for SignatureBlinding
impl Copy for SignatureBlinding
impl Eq for SignatureBlinding
impl StructuralPartialEq for SignatureBlinding
Auto Trait Implementations§
impl Freeze for SignatureBlinding
impl RefUnwindSafe for SignatureBlinding
impl Send for SignatureBlinding
impl Sync for SignatureBlinding
impl Unpin for SignatureBlinding
impl UnwindSafe for SignatureBlinding
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<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