pub struct ProofScalarDto(pub [u8; 32]);
Expand description
Proof scalar.
Tuple Fields§
§0: [u8; 32]
Implementations§
Source§impl ProofScalarDto
impl ProofScalarDto
pub const LENGTH: usize = 32usize
Sourcepub fn get_proof_scalar(&self) -> [u8; 32]
pub fn get_proof_scalar(&self) -> [u8; 32]
Sourcepub fn serializer(&self) -> Vec<u8> ⓘ
pub fn serializer(&self) -> Vec<u8> ⓘ
Sourcepub fn from_binary(src: &[u8]) -> Self
pub fn from_binary(src: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for ProofScalarDto
impl Clone for ProofScalarDto
Source§fn clone(&self) -> ProofScalarDto
fn clone(&self) -> ProofScalarDto
Returns a duplicate 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 ProofScalarDto
impl Debug for ProofScalarDto
impl Copy for ProofScalarDto
Auto Trait Implementations§
impl Freeze for ProofScalarDto
impl RefUnwindSafe for ProofScalarDto
impl Send for ProofScalarDto
impl Sync for ProofScalarDto
impl Unpin for ProofScalarDto
impl UnwindSafe for ProofScalarDto
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