Struct bn::G2
[−]
[src]
#[repr(C)]pub struct G2(_);
Trait Implementations
impl Copy for G2
[src]
impl Clone for G2
[src]
fn clone(&self) -> G2
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for G2
[src]
fn eq(&self, __arg_0: &G2) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &G2) -> bool
This method tests for !=
.
impl Eq for G2
[src]
impl Decodable for G2
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<G2, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for G2
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Group for G2
[src]
fn zero() -> Self
fn one() -> Self
fn random<R: Rng>(rng: &mut R) -> Self
fn is_zero(&self) -> bool
fn normalize(&mut self)
impl Add<G2> for G2
[src]
type Output = G2
The resulting type after applying the +
operator
fn add(self, other: G2) -> G2
The method for the +
operator
impl Sub<G2> for G2
[src]
type Output = G2
The resulting type after applying the -
operator
fn sub(self, other: G2) -> G2
The method for the -
operator
impl Neg for G2
[src]
type Output = G2
The resulting type after applying the -
operator
fn neg(self) -> G2
The method for the unary -
operator