[−][src]Struct mcl::bn::Fp2
Methods
impl Fp2
[src]
impl Fp2
[src]
pub fn clear(&mut self)
[src]
pub fn serialize_raw(&self) -> Vec<u8>
[src]
pub fn deserialize_raw(bytes: &[u8]) -> Result<Self, ()>
[src]
Trait Implementations
impl Clone for Fp2
[src]
impl Copy for Fp2
[src]
impl Default for Fp2
[src]
impl PartialEq<Fp2> for Fp2
[src]
impl Debug for Fp2
[src]
impl Div<Fp2> for Fp2
[src]
type Output = Fp2
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
impl<'a> Div<Fp2> for &'a Fp2
[src]
type Output = <Fp2 as Div<Fp2>>::Output
The resulting type after applying the /
operator.
fn div(self, other: Fp2) -> <Fp2 as Div<Fp2>>::Output
[src]
impl<'a> Div<&'a Fp2> for Fp2
[src]
type Output = <Fp2 as Div<Fp2>>::Output
The resulting type after applying the /
operator.
fn div(self, other: &'a Fp2) -> <Fp2 as Div<Fp2>>::Output
[src]
impl<'a, 'b> Div<&'a Fp2> for &'b Fp2
[src]
type Output = <Fp2 as Div<Fp2>>::Output
The resulting type after applying the /
operator.
fn div(self, other: &'a Fp2) -> <Fp2 as Div<Fp2>>::Output
[src]
impl Sub<Fp2> for Fp2
[src]
type Output = Fp2
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl<'a> Sub<Fp2> for &'a Fp2
[src]
type Output = <Fp2 as Sub<Fp2>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: Fp2) -> <Fp2 as Sub<Fp2>>::Output
[src]
impl<'a> Sub<&'a Fp2> for Fp2
[src]
type Output = <Fp2 as Sub<Fp2>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: &'a Fp2) -> <Fp2 as Sub<Fp2>>::Output
[src]
impl<'a, 'b> Sub<&'a Fp2> for &'b Fp2
[src]
type Output = <Fp2 as Sub<Fp2>>::Output
The resulting type after applying the -
operator.
fn sub(self, other: &'a Fp2) -> <Fp2 as Sub<Fp2>>::Output
[src]
impl Add<Fp2> for Fp2
[src]
type Output = Fp2
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<'a> Add<Fp2> for &'a Fp2
[src]
type Output = <Fp2 as Add<Fp2>>::Output
The resulting type after applying the +
operator.
fn add(self, other: Fp2) -> <Fp2 as Add<Fp2>>::Output
[src]
impl<'a> Add<&'a Fp2> for Fp2
[src]
type Output = <Fp2 as Add<Fp2>>::Output
The resulting type after applying the +
operator.
fn add(self, other: &'a Fp2) -> <Fp2 as Add<Fp2>>::Output
[src]
impl<'a, 'b> Add<&'a Fp2> for &'b Fp2
[src]
type Output = <Fp2 as Add<Fp2>>::Output
The resulting type after applying the +
operator.
fn add(self, other: &'a Fp2) -> <Fp2 as Add<Fp2>>::Output
[src]
impl Mul<Fp2> for Fp2
[src]
type Output = Fp2
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl<'a> Mul<Fp2> for &'a Fp2
[src]
type Output = <Fp2 as Mul<Fp2>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: Fp2) -> <Fp2 as Mul<Fp2>>::Output
[src]
impl<'a> Mul<&'a Fp2> for Fp2
[src]
type Output = <Fp2 as Mul<Fp2>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: &'a Fp2) -> <Fp2 as Mul<Fp2>>::Output
[src]
impl<'a, 'b> Mul<&'a Fp2> for &'b Fp2
[src]
type Output = <Fp2 as Mul<Fp2>>::Output
The resulting type after applying the *
operator.
fn mul(self, other: &'a Fp2) -> <Fp2 as Mul<Fp2>>::Output
[src]
impl Serialize for Fp2
[src]
impl<'de> Deserialize<'de> for Fp2
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Fp2
impl Sync for Fp2
impl Unpin for Fp2
impl UnwindSafe for Fp2
impl RefUnwindSafe for Fp2
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>,