Struct snarkvm_curves::templates::bls12::g1::G1Prepared [−][src]
pub struct G1Prepared<P: Bls12Parameters>(pub G1Affine<P>);
Implementations
impl<P: Bls12Parameters> G1Prepared<P>
[src]
impl<P: Bls12Parameters> G1Prepared<P>
[src]Trait Implementations
impl<P: Bls12Parameters> CanonicalDeserialize for G1Prepared<P>
[src]
impl<P: Bls12Parameters> CanonicalDeserialize for G1Prepared<P>
[src]fn deserialize<R: Read>(reader: &mut R) -> Result<Self, SerializationError>
[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, SerializationError>
[src]Reads Self
from reader
.
fn deserialize_uncompressed<R: Read>(
reader: &mut R
) -> Result<Self, SerializationError>
[src]
fn deserialize_uncompressed<R: Read>(
reader: &mut R
) -> Result<Self, SerializationError>
[src]Reads Self
from reader
without compression.
impl<P: Bls12Parameters> CanonicalSerialize for G1Prepared<P>
[src]
impl<P: Bls12Parameters> CanonicalSerialize for G1Prepared<P>
[src]fn serialize<W: Write>(&self, writer: &mut W) -> Result<(), SerializationError>
[src]
fn serialize<W: Write>(&self, writer: &mut W) -> Result<(), SerializationError>
[src]Serializes self
into writer
.
fn serialized_size(&self) -> usize
[src]
fn serialize_uncompressed<W: Write>(
&self,
writer: &mut W
) -> Result<(), SerializationError>
[src]
fn serialize_uncompressed<W: Write>(
&self,
writer: &mut W
) -> Result<(), SerializationError>
[src]Serializes self
into writer
without compression.
fn uncompressed_size(&self) -> usize
[src]
impl<P: Bls12Parameters> Clone for G1Prepared<P> where
P: Bls12Parameters,
[src]
impl<P: Bls12Parameters> Clone for G1Prepared<P> where
P: Bls12Parameters,
[src]impl<P: Bls12Parameters> Debug for G1Prepared<P> where
P: Bls12Parameters,
[src]
impl<P: Bls12Parameters> Debug for G1Prepared<P> where
P: Bls12Parameters,
[src]impl<P: Bls12Parameters> Default for G1Prepared<P>
[src]
impl<P: Bls12Parameters> Default for G1Prepared<P>
[src]impl<P: Bls12Parameters> PartialEq<G1Prepared<P>> for G1Prepared<P> where
P: Bls12Parameters,
[src]
impl<P: Bls12Parameters> PartialEq<G1Prepared<P>> for G1Prepared<P> where
P: Bls12Parameters,
[src]impl<P: Bls12Parameters> ToBytes for G1Prepared<P>
[src]
impl<P: Bls12Parameters> ToBytes for G1Prepared<P>
[src]impl<P: Bls12Parameters> Eq for G1Prepared<P> where
P: Bls12Parameters,
[src]
P: Bls12Parameters,
Auto Trait Implementations
impl<P> RefUnwindSafe for G1Prepared<P> where
<P as Bls12Parameters>::Fp: RefUnwindSafe,
<P as Bls12Parameters>::G1Parameters: RefUnwindSafe,
<P as Bls12Parameters>::Fp: RefUnwindSafe,
<P as Bls12Parameters>::G1Parameters: RefUnwindSafe,
impl<P> Send for G1Prepared<P>
impl<P> Sync for G1Prepared<P>
impl<P> Unpin for G1Prepared<P> where
<P as Bls12Parameters>::Fp: Unpin,
<P as Bls12Parameters>::G1Parameters: Unpin,
<P as Bls12Parameters>::Fp: Unpin,
<P as Bls12Parameters>::G1Parameters: Unpin,
impl<P> UnwindSafe for G1Prepared<P> where
<P as Bls12Parameters>::Fp: UnwindSafe,
<P as Bls12Parameters>::G1Parameters: UnwindSafe,
<P as Bls12Parameters>::Fp: UnwindSafe,
<P as Bls12Parameters>::G1Parameters: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,