pub struct G2PreparedNoAlloc {
pub ell_coeffs: [EllCoeff<Config>; 68],
pub infinity: bool,
}Fields§
§ell_coeffs: [EllCoeff<Config>; 68]§infinity: boolImplementations§
Trait Implementations§
Source§impl CanonicalDeserialize for G2PreparedNoAlloc
impl CanonicalDeserialize for G2PreparedNoAlloc
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 G2PreparedNoAlloc
impl CanonicalSerialize for G2PreparedNoAlloc
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 G2PreparedNoAlloc
impl Clone for G2PreparedNoAlloc
Source§fn clone(&self) -> G2PreparedNoAlloc
fn clone(&self) -> G2PreparedNoAlloc
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 G2PreparedNoAlloc
impl Debug for G2PreparedNoAlloc
Source§impl Default for G2PreparedNoAlloc
impl Default for G2PreparedNoAlloc
Source§impl<'a> From<&'a Affine<<Config as Bls12Config>::G2Config>> for G2PreparedNoAlloc
impl<'a> From<&'a Affine<<Config as Bls12Config>::G2Config>> for G2PreparedNoAlloc
Source§impl<'a> From<&'a Projective<<Config as Bls12Config>::G2Config>> for G2PreparedNoAlloc
impl<'a> From<&'a Projective<<Config as Bls12Config>::G2Config>> for G2PreparedNoAlloc
Source§fn from(q: &'a G2Projective) -> Self
fn from(q: &'a G2Projective) -> Self
Converts to this type from the input type.
Source§impl From<Affine<<Config as Bls12Config>::G2Config>> for G2PreparedNoAlloc
impl From<Affine<<Config as Bls12Config>::G2Config>> for G2PreparedNoAlloc
Source§impl From<Projective<<Config as Bls12Config>::G2Config>> for G2PreparedNoAlloc
impl From<Projective<<Config as Bls12Config>::G2Config>> for G2PreparedNoAlloc
Source§fn from(q: G2Projective) -> Self
fn from(q: G2Projective) -> Self
Converts to this type from the input type.
Source§impl PartialEq for G2PreparedNoAlloc
impl PartialEq for G2PreparedNoAlloc
Source§impl Valid for G2PreparedNoAlloc
impl Valid for G2PreparedNoAlloc
impl Eq for G2PreparedNoAlloc
impl StructuralPartialEq for G2PreparedNoAlloc
Auto Trait Implementations§
impl Freeze for G2PreparedNoAlloc
impl RefUnwindSafe for G2PreparedNoAlloc
impl Send for G2PreparedNoAlloc
impl Sync for G2PreparedNoAlloc
impl Unpin for G2PreparedNoAlloc
impl UnwindSafe for G2PreparedNoAlloc
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
§impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
fn hash<H>(&self) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
fn hash_uncompressed<H>(
&self,
) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more