Struct bn::G1
[−]
[src]
#[repr(C)]pub struct G1(_);
Trait Implementations
impl Copy for G1
[src]
impl Clone for G1
[src]
fn clone(&self) -> G1
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 G1
[src]
fn eq(&self, __arg_0: &G1) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &G1) -> bool
This method tests for !=
.
impl Eq for G1
[src]
impl Decodable for G1
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<G1, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for G1
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Group for G1
[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<G1> for G1
[src]
type Output = G1
The resulting type after applying the +
operator
fn add(self, other: G1) -> G1
The method for the +
operator
impl Sub<G1> for G1
[src]
type Output = G1
The resulting type after applying the -
operator
fn sub(self, other: G1) -> G1
The method for the -
operator
impl Neg for G1
[src]
type Output = G1
The resulting type after applying the -
operator
fn neg(self) -> G1
The method for the unary -
operator