[−][src]Struct mcl::bn::G2
Methods
impl G2
[src]
pub fn neg(&self) -> Self
[src]
pub fn dbl(&self) -> Self
[src]
pub fn hash_and_map(buf: &[u8]) -> Result<Self, i32>
[src]
impl G2
[src]
pub fn clear(&mut self)
[src]
pub fn serialize_raw(&self) -> Vec<u8>
[src]
pub fn deserialize_raw(bytes: &[u8]) -> Result<Self, ()>
[src]
impl G2
[src]
pub fn from_str(buffer: &str, io_mode: Base) -> Self
[src]
pub fn set_str(&mut self, buffer: &str, io_mode: Base)
[src]
pub fn get_str(&self, io_mode: Base) -> String
[src]
Trait Implementations
impl Clone for G2
[src]
impl Default for G2
[src]
impl PartialEq<G2> for G2
[src]
impl Debug for G2
[src]
impl Sub<G2> for G2
[src]
type Output = G2
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl<'a> Sub<G2> for &'a G2
[src]
type Output = <G2 as Sub<G2>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: G2) -> <G2 as Sub<G2>>::Output
[src]
impl<'a> Sub<&'a G2> for G2
[src]
type Output = <G2 as Sub<G2>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: &'a G2) -> <G2 as Sub<G2>>::Output
[src]
impl<'a, 'b> Sub<&'a G2> for &'b G2
[src]
type Output = <G2 as Sub<G2>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: &'a G2) -> <G2 as Sub<G2>>::Output
[src]
impl Add<G2> for G2
[src]
type Output = G2
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<'a> Add<G2> for &'a G2
[src]
type Output = <G2 as Add<G2>>::Output
The resulting type after applying the +
operator.
fn add(self, other: G2) -> <G2 as Add<G2>>::Output
[src]
impl<'a> Add<&'a G2> for G2
[src]
type Output = <G2 as Add<G2>>::Output
The resulting type after applying the +
operator.
fn add(self, other: &'a G2) -> <G2 as Add<G2>>::Output
[src]
impl<'a, 'b> Add<&'a G2> for &'b G2
[src]
type Output = <G2 as Add<G2>>::Output
The resulting type after applying the +
operator.
fn add(self, other: &'a G2) -> <G2 as Add<G2>>::Output
[src]
impl Mul<Fr> for G2
[src]
type Output = G2
The resulting type after applying the *
operator.
fn mul(self, other: Fr) -> Self
[src]
impl<'a> Mul<Fr> for &'a G2
[src]
type Output = <G2 as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: Fr) -> <G2 as Mul<Fr>>::Output
[src]
impl<'a> Mul<&'a Fr> for G2
[src]
type Output = <G2 as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: &'a Fr) -> <G2 as Mul<Fr>>::Output
[src]
impl<'a, 'b> Mul<&'a Fr> for &'b G2
[src]
type Output = <G2 as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: &'a Fr) -> <G2 as Mul<Fr>>::Output
[src]
impl Serialize for G2
[src]
impl<'de> Deserialize<'de> for G2
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,