Struct bn::AffineG1
[−]
[src]
#[repr(C)]pub struct AffineG1(_);
Methods
impl AffineG1
[src]
fn new(x: Fq, y: Fq) -> Result<Self, GroupError>
[src]
fn x(&self) -> Fq
[src]
fn set_x(&mut self, x: Fq)
[src]
fn y(&self) -> Fq
[src]
fn set_y(&mut self, y: Fq)
[src]
fn from_jacobian(g1: G1) -> Option<Self>
[src]
Trait Implementations
impl Copy for AffineG1
[src]
impl Clone for AffineG1
[src]
fn clone(&self) -> AffineG1
[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 AffineG1
[src]
fn eq(&self, __arg_0: &AffineG1) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AffineG1) -> bool
[src]
This method tests for !=
.
impl Eq for AffineG1
[src]
impl Decodable for AffineG1
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<AffineG1, __D::Error>
[src]
Deserialize a value using a Decoder
.