[−][src]Struct mcl_rust::G1
Fields
x: Fp
y: Fp
z: Fp
Methods
impl G1
[src]
pub fn zero() -> G1
[src]
pub unsafe fn uninit() -> G1
[src]
pub fn clear(&mut self)
[src]
pub fn is_zero(&self) -> bool
[src]
impl G1
[src]
impl G1
[src]
impl G1
[src]
pub fn from_str(s: &str, base: i32) -> Option<G1>
[src]
pub fn set_str(&mut self, s: &str, base: i32) -> bool
[src]
pub fn get_str(&self, io_mode: i32) -> String
[src]
impl G1
[src]
pub fn add(z: &mut G1, x: &G1, y: &G1)
[src]
pub fn sub(z: &mut G1, x: &G1, y: &G1)
[src]
pub fn neg(y: &mut G1, x: &G1)
[src]
impl G1
[src]
pub fn dbl(y: &mut G1, x: &G1)
[src]
pub fn mul(z: &mut G1, x: &G1, y: &Fr)
[src]
pub fn normalize(y: &mut G1, x: &G1)
[src]
pub fn set_hash_of(&mut self, buf: &[u8]) -> bool
[src]
Trait Implementations
impl Clone for G1
[src]
impl Default for G1
[src]
impl PartialEq<G1> for G1
[src]
impl Debug for G1
[src]
impl<'a> Sub<&'a G1> for &'a G1
[src]
type Output = G1
The resulting type after applying the -
operator.
fn sub(self, other: &G1) -> G1
[src]
impl<'a> Add<&'a G1> for &'a G1
[src]
type Output = G1
The resulting type after applying the +
operator.
fn add(self, other: &G1) -> G1
[src]
impl<'a> AddAssign<&'a G1> for G1
[src]
fn add_assign(&mut self, other: &G1)
[src]
impl<'a> SubAssign<&'a G1> for G1
[src]
fn sub_assign(&mut self, other: &G1)
[src]
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,