Struct tbn::G2[][src]

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

Implementations

impl G2[src]

pub fn new(x: Fq2, y: Fq2, z: Fq2) -> Self[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 z(&self) -> Fq2[src]

pub fn set_z(&mut self, z: Fq2)[src]

pub fn b() -> Fq2[src]

pub fn from_compressed(bytes: &[u8]) -> Result<Self, CurveError>[src]

Trait Implementations

impl Add<G2> for G2[src]

type Output = G2

The resulting type after applying the + operator.

impl Clone for G2[src]

impl Copy for G2[src]

impl Debug for G2[src]

impl Decodable for G2[src]

impl Encodable for G2[src]

impl Eq for G2[src]

impl From<AffineG2> for G2[src]

impl Group for G2[src]

impl Mul<Fr> for G2[src]

type Output = G2

The resulting type after applying the * operator.

impl Neg for G2[src]

type Output = G2

The resulting type after applying the - operator.

impl PartialEq<G2> for G2[src]

impl StructuralEq for G2[src]

impl StructuralPartialEq for G2[src]

impl Sub<G2> for G2[src]

type Output = G2

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for G2

impl Send for G2

impl Sync for G2

impl Unpin for G2

impl UnwindSafe for G2

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.