Struct bn::AffineG2
[−]
[src]
#[repr(C)]pub struct AffineG2(_);
Methods
impl AffineG2
[src]
fn new(x: Fq2, y: Fq2) -> Result<Self, GroupError>
[src]
fn x(&self) -> Fq2
[src]
fn set_x(&mut self, x: Fq2)
[src]
fn y(&self) -> Fq2
[src]
fn set_y(&mut self, y: Fq2)
[src]
fn from_jacobian(g2: G2) -> Option<Self>
[src]
Trait Implementations
impl Copy for AffineG2
[src]
impl Clone for AffineG2
[src]
fn clone(&self) -> AffineG2
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for AffineG2
[src]
fn eq(&self, __arg_0: &AffineG2) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AffineG2) -> bool
[src]
This method tests for !=
.
impl Eq for AffineG2
[src]
impl Decodable for AffineG2
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AffineG2, __D::Error>
[src]
Deserialize a value using a Decoder
.