[][src]Struct parity_bn::AffineG2

#[repr(C)]
pub struct AffineG2(_);

Methods

impl AffineG2[src]

pub fn new(x: Fq2, y: Fq2) -> Result<Self, GroupError>[src]

pub fn x(&self) -> Fq2[src]

pub fn set_x(&mut self, x: Fq2)[src]

pub fn y(&self) -> Fq2[src]

pub fn set_y(&mut self, y: Fq2)[src]

pub fn from_jacobian(g2: G2) -> Option<Self>[src]

Trait Implementations

impl PartialEq<AffineG2> for AffineG2[src]

impl Eq for AffineG2[src]

impl Clone for AffineG2[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<AffineG2> for G2[src]

impl Copy for AffineG2[src]

impl Encodable for AffineG2[src]

impl Decodable for AffineG2[src]

Auto Trait Implementations

impl Send for AffineG2

impl Sync for AffineG2

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.