[−][src]Struct mcl::bn::Fr
Methods
impl Fr
[src]
impl Fr
[src]
impl Fr
[src]
impl Fr
[src]
pub fn from_csprng() -> Self
[src]
Trait Implementations
impl RawSerializable for Fr
[src]
fn serialize_raw(&self) -> Result<Vec<u8>, ()>
[src]
fn deserialize_raw(&mut self, bytes: &[u8]) -> Result<usize, ()>
[src]
impl Formattable for Fr
[src]
fn set_str(&mut self, buffer: &str, io_mode: Base)
[src]
fn get_str(&self, io_mode: Base) -> String
[src]
impl Random for Fr
[src]
fn set_by_csprng(&mut self)
[src]
impl Clone for Fr
[src]
impl Copy for Fr
[src]
impl Default for Fr
[src]
impl PartialEq<Fr> for Fr
[src]
impl Debug for Fr
[src]
impl Div<Fr> for Fr
[src]
type Output = Fr
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
impl<'a> Div<Fr> for &'a Fr
[src]
type Output = <Fr as Div<Fr>>::Output
The resulting type after applying the /
operator.
fn div(self, other: Fr) -> <Fr as Div<Fr>>::Output
[src]
impl<'a> Div<&'a Fr> for Fr
[src]
type Output = <Fr as Div<Fr>>::Output
The resulting type after applying the /
operator.
fn div(self, other: &'a Fr) -> <Fr as Div<Fr>>::Output
[src]
impl<'a, 'b> Div<&'a Fr> for &'b Fr
[src]
type Output = <Fr as Div<Fr>>::Output
The resulting type after applying the /
operator.
fn div(self, other: &'a Fr) -> <Fr as Div<Fr>>::Output
[src]
impl Sub<Fr> for Fr
[src]
type Output = Fr
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl<'a> Sub<Fr> for &'a Fr
[src]
type Output = <Fr as Sub<Fr>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: Fr) -> <Fr as Sub<Fr>>::Output
[src]
impl<'a> Sub<&'a Fr> for Fr
[src]
type Output = <Fr as Sub<Fr>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: &'a Fr) -> <Fr as Sub<Fr>>::Output
[src]
impl<'a, 'b> Sub<&'a Fr> for &'b Fr
[src]
type Output = <Fr as Sub<Fr>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: &'a Fr) -> <Fr as Sub<Fr>>::Output
[src]
impl Add<Fr> for Fr
[src]
type Output = Fr
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<'a> Add<Fr> for &'a Fr
[src]
type Output = <Fr as Add<Fr>>::Output
The resulting type after applying the +
operator.
fn add(self, other: Fr) -> <Fr as Add<Fr>>::Output
[src]
impl<'a> Add<&'a Fr> for Fr
[src]
type Output = <Fr as Add<Fr>>::Output
The resulting type after applying the +
operator.
fn add(self, other: &'a Fr) -> <Fr as Add<Fr>>::Output
[src]
impl<'a, 'b> Add<&'a Fr> for &'b Fr
[src]
type Output = <Fr as Add<Fr>>::Output
The resulting type after applying the +
operator.
fn add(self, other: &'a Fr) -> <Fr as Add<Fr>>::Output
[src]
impl Mul<Fr> for Fr
[src]
type Output = Fr
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl<'a> Mul<Fr> for &'a Fr
[src]
type Output = <Fr as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: Fr) -> <Fr as Mul<Fr>>::Output
[src]
impl<'a> Mul<&'a Fr> for Fr
[src]
type Output = <Fr as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: &'a Fr) -> <Fr as Mul<Fr>>::Output
[src]
impl<'a, 'b> Mul<&'a Fr> for &'b Fr
[src]
type Output = <Fr as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: &'a Fr) -> <Fr as Mul<Fr>>::Output
[src]
impl Mul<Fr> for G1
[src]
type Output = G1
The resulting type after applying the *
operator.
fn mul(self, other: Fr) -> Self
[src]
impl<'a> Mul<Fr> for &'a G1
[src]
type Output = <G1 as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: Fr) -> <G1 as Mul<Fr>>::Output
[src]
impl<'a> Mul<&'a Fr> for G1
[src]
type Output = <G1 as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: &'a Fr) -> <G1 as Mul<Fr>>::Output
[src]
impl<'a, 'b> Mul<&'a Fr> for &'b G1
[src]
type Output = <G1 as Mul<Fr>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: &'a Fr) -> <G1 as Mul<Fr>>::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 Fr
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
S::Error: Error,
[src]
S: Serializer,
S::Error: Error,
impl<'de> Deserialize<'de> for Fr
[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>,