pub struct H { /* private fields */ }
Expand description
Pedersen base point for encoding the commitment openings.
Methods from Deref<Target = RistrettoPoint>§
Sourcepub fn compress(&self) -> CompressedRistretto
pub fn compress(&self) -> CompressedRistretto
Compress this point using the Ristretto encoding.
Trait Implementations§
Source§impl Deref for H
impl Deref for H
Source§type Target = RistrettoPoint
type Target = RistrettoPoint
The resulting type after dereferencing.
Source§fn deref(&self) -> &RistrettoPoint
fn deref(&self) -> &RistrettoPoint
Dereferences the value.
impl LazyStatic for H
Auto Trait Implementations§
impl Freeze for H
impl RefUnwindSafe for H
impl Send for H
impl Sync for H
impl Unpin for H
impl UnwindSafe for H
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> 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