pub struct G2Prepared<P: MNT6Parameters> {
pub x: Fp3<P::Fp3Config>,
pub y: Fp3<P::Fp3Config>,
pub x_over_twist: Fp3<P::Fp3Config>,
pub y_over_twist: Fp3<P::Fp3Config>,
pub double_coefficients: Vec<AteDoubleCoefficients<P>>,
pub addition_coefficients: Vec<AteAdditionCoefficients<P>>,
}
Fields
x: Fp3<P::Fp3Config>
y: Fp3<P::Fp3Config>
x_over_twist: Fp3<P::Fp3Config>
y_over_twist: Fp3<P::Fp3Config>
double_coefficients: Vec<AteDoubleCoefficients<P>>
addition_coefficients: Vec<AteAdditionCoefficients<P>>
Trait Implementations
sourceimpl<P: MNT6Parameters> CanonicalDeserialize for G2Prepared<P>
impl<P: MNT6Parameters> CanonicalDeserialize for G2Prepared<P>
sourcefn 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,
sourceimpl<P: MNT6Parameters> CanonicalSerialize for G2Prepared<P>
impl<P: MNT6Parameters> CanonicalSerialize for G2Prepared<P>
sourcefn 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
sourceimpl<P: MNT6Parameters> Clone for G2Prepared<P>where
P: MNT6Parameters,
impl<P: MNT6Parameters> Clone for G2Prepared<P>where
P: MNT6Parameters,
sourceimpl<P: MNT6Parameters> Debug for G2Prepared<P>where
P: MNT6Parameters,
impl<P: MNT6Parameters> Debug for G2Prepared<P>where
P: MNT6Parameters,
sourceimpl<P: MNT6Parameters> Default for G2Prepared<P>
impl<P: MNT6Parameters> Default for G2Prepared<P>
sourceimpl<'a, P: MNT6Parameters> From<&'a Affine<<P as MNT6Parameters>::G2Parameters>> for G2Prepared<P>
impl<'a, P: MNT6Parameters> From<&'a Affine<<P as MNT6Parameters>::G2Parameters>> for G2Prepared<P>
sourceimpl<'a, P: MNT6Parameters> From<&'a Projective<<P as MNT6Parameters>::G2Parameters>> for G2Prepared<P>
impl<'a, P: MNT6Parameters> From<&'a Projective<<P as MNT6Parameters>::G2Parameters>> for G2Prepared<P>
sourcefn from(g2: &'a G2Projective<P>) -> Self
fn from(g2: &'a G2Projective<P>) -> Self
Converts to this type from the input type.
sourceimpl<P: MNT6Parameters> From<Affine<<P as MNT6Parameters>::G2Parameters>> for G2Prepared<P>
impl<P: MNT6Parameters> From<Affine<<P as MNT6Parameters>::G2Parameters>> for G2Prepared<P>
sourceimpl<P: MNT6Parameters> From<Projective<<P as MNT6Parameters>::G2Parameters>> for G2Prepared<P>
impl<P: MNT6Parameters> From<Projective<<P as MNT6Parameters>::G2Parameters>> for G2Prepared<P>
sourcefn from(g2: G2Projective<P>) -> Self
fn from(g2: G2Projective<P>) -> Self
Converts to this type from the input type.
sourceimpl<P: MNT6Parameters> PartialEq<G2Prepared<P>> for G2Prepared<P>where
P: MNT6Parameters,
impl<P: MNT6Parameters> PartialEq<G2Prepared<P>> for G2Prepared<P>where
P: MNT6Parameters,
sourceimpl<P: MNT6Parameters> Valid for G2Prepared<P>
impl<P: MNT6Parameters> Valid for G2Prepared<P>
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send
) -> Result<(), SerializationError>where
Self: 'a,
impl<P: MNT6Parameters> Eq for G2Prepared<P>where
P: MNT6Parameters,
Auto Trait Implementations
impl<P> RefUnwindSafe for G2Prepared<P>where
<P as MNT6Parameters>::Fp: RefUnwindSafe,
impl<P> Send for G2Prepared<P>
impl<P> Sync for G2Prepared<P>
impl<P> Unpin for G2Prepared<P>where
<P as MNT6Parameters>::Fp: Unpin,
impl<P> UnwindSafe for G2Prepared<P>where
<P as MNT6Parameters>::Fp: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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