Struct solana_zk_token_sdk::encryption::pedersen::G
source · [−]pub struct G { /* private fields */ }
Expand description
Pedersen base point for encoding messages to be committed.
Methods from Deref<Target = RistrettoPoint>
sourcepub fn compress(&self) -> CompressedRistretto
pub fn compress(&self) -> CompressedRistretto
Compress this point using the Ristretto encoding.
Trait Implementations
sourceimpl Deref for G
impl Deref for G
type Target = RistrettoPoint
type Target = RistrettoPoint
The resulting type after dereferencing.
sourcefn deref(&self) -> &RistrettoPoint
fn deref(&self) -> &RistrettoPoint
Dereferences the value.
impl LazyStatic for G
Auto Trait Implementations
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more