Struct ark_cp6_782::G2Prepared
source · pub struct G2Prepared(pub G2Affine);
Tuple Fields§
§0: G2Affine
Implementations§
Trait Implementations§
source§impl CanonicalDeserialize for G2Prepared
impl CanonicalDeserialize for G2Prepared
source§fn deserialize_with_mode<R: Read>(
reader: R,
compress: Compress,
validate: Validate
) -> Result<Self, SerializationError>
fn deserialize_with_mode<R: Read>(
reader: R,
compress: Compress,
validate: Validate
) -> Result<Self, SerializationError>
The general deserialize method that takes in customization flags.
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 CanonicalSerialize for G2Prepared
impl CanonicalSerialize for G2Prepared
source§fn serialize_with_mode<W: Write>(
&self,
writer: W,
compress: Compress
) -> Result<(), SerializationError>
fn serialize_with_mode<W: Write>(
&self,
writer: W,
compress: Compress
) -> Result<(), SerializationError>
The general serialize method that takes in customization flags.
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 Clone for G2Prepared
impl Clone for G2Prepared
source§fn clone(&self) -> G2Prepared
fn clone(&self) -> G2Prepared
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 G2Prepared
impl Debug for G2Prepared
source§impl Default for G2Prepared
impl Default for G2Prepared
source§impl<'a> From<&'a Projective<Config>> for G2Prepared
impl<'a> From<&'a Projective<Config>> for G2Prepared
source§fn from(q: &'a G2Projective) -> Self
fn from(q: &'a G2Projective) -> Self
Converts to this type from the input type.
source§impl From<Projective<Config>> for G2Prepared
impl From<Projective<Config>> for G2Prepared
source§fn from(q: G2Projective) -> Self
fn from(q: G2Projective) -> Self
Converts to this type from the input type.
source§impl PartialEq<G2Prepared> for G2Prepared
impl PartialEq<G2Prepared> for G2Prepared
source§fn eq(&self, other: &G2Prepared) -> bool
fn eq(&self, other: &G2Prepared) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Valid for G2Prepared
impl Valid for G2Prepared
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send
) -> Result<(), SerializationError>where
Self: 'a,
impl Eq for G2Prepared
impl StructuralEq for G2Prepared
impl StructuralPartialEq for G2Prepared
Auto Trait Implementations§
impl RefUnwindSafe for G2Prepared
impl Send for G2Prepared
impl Sync for G2Prepared
impl Unpin for G2Prepared
impl UnwindSafe for G2Prepared
Blanket Implementations§
source§impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more