Struct ark_cp6_782::G1Prepared
source · pub struct G1Prepared(pub G1Affine);
Tuple Fields§
§0: G1Affine
Implementations§
Trait Implementations§
source§impl CanonicalDeserialize for G1Prepared
impl CanonicalDeserialize for G1Prepared
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 G1Prepared
impl CanonicalSerialize for G1Prepared
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 G1Prepared
impl Clone for G1Prepared
source§fn clone(&self) -> G1Prepared
fn clone(&self) -> G1Prepared
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 G1Prepared
impl Debug for G1Prepared
source§impl Default for G1Prepared
impl Default for G1Prepared
source§impl<'a> From<&'a Projective<Config>> for G1Prepared
impl<'a> From<&'a Projective<Config>> for G1Prepared
source§fn from(q: &'a G1Projective) -> Self
fn from(q: &'a G1Projective) -> Self
Converts to this type from the input type.
source§impl From<Projective<Config>> for G1Prepared
impl From<Projective<Config>> for G1Prepared
source§fn from(q: G1Projective) -> Self
fn from(q: G1Projective) -> Self
Converts to this type from the input type.
source§impl PartialEq<G1Prepared> for G1Prepared
impl PartialEq<G1Prepared> for G1Prepared
source§fn eq(&self, other: &G1Prepared) -> bool
fn eq(&self, other: &G1Prepared) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Valid for G1Prepared
impl Valid for G1Prepared
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send
) -> Result<(), SerializationError>where
Self: 'a,
impl Eq for G1Prepared
impl StructuralEq for G1Prepared
impl StructuralPartialEq for G1Prepared
Auto Trait Implementations§
impl RefUnwindSafe for G1Prepared
impl Send for G1Prepared
impl Sync for G1Prepared
impl Unpin for G1Prepared
impl UnwindSafe for G1Prepared
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