Struct snarkvm_curves::templates::bls12::g1::G1Prepared
source · pub struct G1Prepared<P: Bls12Parameters>(pub G1Affine<P>);
Tuple Fields§
§0: G1Affine<P>
Implementations§
source§impl<P: Bls12Parameters> G1Prepared<P>
impl<P: Bls12Parameters> G1Prepared<P>
Trait Implementations§
source§impl<P: Bls12Parameters> CanonicalDeserialize for G1Prepared<P>
impl<P: Bls12Parameters> CanonicalDeserialize for G1Prepared<P>
fn deserialize_with_mode<R: Read>(
reader: R,
compress: Compress,
validate: Validate
) -> Result<Self, SerializationError>
fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_compressed_unchecked<R>(
reader: R
) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed_unchecked<R>(
reader: R
) -> Result<Self, SerializationError>where
R: Read,
source§impl<P: Bls12Parameters> CanonicalSerialize for G1Prepared<P>
impl<P: Bls12Parameters> CanonicalSerialize for G1Prepared<P>
fn serialize_with_mode<W: Write>(
&self,
writer: W,
compress: Compress
) -> Result<(), SerializationError>
fn serialized_size(&self, compress: Compress) -> usize
fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn compressed_size(&self) -> usize
fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn uncompressed_size(&self) -> usize
source§impl<P: Clone + Bls12Parameters> Clone for G1Prepared<P>
impl<P: Clone + Bls12Parameters> Clone for G1Prepared<P>
source§fn clone(&self) -> G1Prepared<P>
fn clone(&self) -> G1Prepared<P>
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 more