[−][src]Struct mcl_rust::GT
Methods
impl GT
[src]
pub fn zero() -> GT
[src]
pub unsafe fn uninit() -> GT
[src]
pub fn clear(&mut self)
[src]
pub fn is_zero(&self) -> bool
[src]
impl GT
[src]
impl GT
[src]
pub fn from_str(s: &str, base: i32) -> Option<GT>
[src]
pub fn set_str(&mut self, s: &str, base: i32) -> bool
[src]
pub fn get_str(&self, io_mode: i32) -> String
[src]
impl GT
[src]
pub fn from_int(x: i32) -> GT
[src]
pub fn set_int(&mut self, x: i32)
[src]
pub fn is_one(&self) -> bool
[src]
impl GT
[src]
pub fn add(z: &mut GT, x: >, y: >)
[src]
pub fn sub(z: &mut GT, x: >, y: >)
[src]
pub fn neg(y: &mut GT, x: >)
[src]
impl GT
[src]
pub fn mul(z: &mut GT, x: >, y: >)
[src]
pub fn div(z: &mut GT, x: >, y: >)
[src]
pub fn inv(y: &mut GT, x: >)
[src]
pub fn sqr(y: &mut GT, x: >)
[src]
impl GT
[src]
Trait Implementations
impl Clone for GT
[src]
impl Default for GT
[src]
impl PartialEq<GT> for GT
[src]
impl Debug for GT
[src]
impl<'a> Div<&'a GT> for &'a GT
[src]
type Output = GT
The resulting type after applying the /
operator.
fn div(self, other: >) -> GT
[src]
impl<'a> Sub<&'a GT> for &'a GT
[src]
type Output = GT
The resulting type after applying the -
operator.
fn sub(self, other: >) -> GT
[src]
impl<'a> Add<&'a GT> for &'a GT
[src]
type Output = GT
The resulting type after applying the +
operator.
fn add(self, other: >) -> GT
[src]
impl<'a> Mul<&'a GT> for &'a GT
[src]
type Output = GT
The resulting type after applying the *
operator.
fn mul(self, other: >) -> GT
[src]
impl<'a> AddAssign<&'a GT> for GT
[src]
fn add_assign(&mut self, other: >)
[src]
impl<'a> SubAssign<&'a GT> for GT
[src]
fn sub_assign(&mut self, other: >)
[src]
impl<'a> MulAssign<&'a GT> for GT
[src]
fn mul_assign(&mut self, other: >)
[src]
impl<'a> DivAssign<&'a GT> for GT
[src]
fn div_assign(&mut self, other: >)
[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,