[−][src]Struct dusk_bls12_381::Gt
This is an element of $\mathbb{G}_T$, the target group of the pairing function. As with $\mathbb{G}_1$ and $\mathbb{G}_2$ this group has order $q$.
Typically, $\mathbb{G}_T$ is written multiplicatively but we will write it additively to keep code and abstractions consistent.
Methods
impl Gt
[src]
pub fn identity() -> Gt
[src]
Returns the group identity, which is $1$.
pub fn double(&self) -> Gt
[src]
Doubles this group element.
Trait Implementations
impl<'a, 'b> Add<&'b Gt> for &'a Gt
[src]
type Output = Gt
The resulting type after applying the +
operator.
fn add(self, rhs: &'b Gt) -> Gt
[src]
impl<'b> Add<&'b Gt> for Gt
[src]
type Output = Gt
The resulting type after applying the +
operator.
fn add(self, rhs: &'b Gt) -> Gt
[src]
impl<'a> Add<Gt> for &'a Gt
[src]
impl Add<Gt> for Gt
[src]
impl<'b> AddAssign<&'b Gt> for Gt
[src]
fn add_assign(&mut self, rhs: &'b Gt)
[src]
impl AddAssign<Gt> for Gt
[src]
fn add_assign(&mut self, rhs: Gt)
[src]
impl Clone for Gt
[src]
impl ConditionallySelectable for Gt
[src]
fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
[src]
fn conditional_assign(&mut self, other: &Self, choice: Choice)
[src]
fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
[src]
impl ConstantTimeEq for Gt
[src]
impl Copy for Gt
[src]
impl Debug for Gt
[src]
impl Eq for Gt
[src]
impl<'a, 'b> Mul<&'b Scalar> for &'a Gt
[src]
type Output = Gt
The resulting type after applying the *
operator.
fn mul(self, other: &'b Scalar) -> Self::Output
[src]
impl<'b> Mul<&'b Scalar> for Gt
[src]
type Output = Gt
The resulting type after applying the *
operator.
fn mul(self, rhs: &'b Scalar) -> Gt
[src]
impl<'a> Mul<Scalar> for &'a Gt
[src]
type Output = Gt
The resulting type after applying the *
operator.
fn mul(self, rhs: Scalar) -> Gt
[src]
impl Mul<Scalar> for Gt
[src]
type Output = Gt
The resulting type after applying the *
operator.
fn mul(self, rhs: Scalar) -> Gt
[src]
impl<'b> MulAssign<&'b Scalar> for Gt
[src]
fn mul_assign(&mut self, rhs: &'b Scalar)
[src]
impl MulAssign<Scalar> for Gt
[src]
fn mul_assign(&mut self, rhs: Scalar)
[src]
impl<'a> Neg for &'a Gt
[src]
impl Neg for Gt
[src]
impl PartialEq<Gt> for Gt
[src]
impl<'a, 'b> Sub<&'b Gt> for &'a Gt
[src]
type Output = Gt
The resulting type after applying the -
operator.
fn sub(self, rhs: &'b Gt) -> Gt
[src]
impl<'b> Sub<&'b Gt> for Gt
[src]
type Output = Gt
The resulting type after applying the -
operator.
fn sub(self, rhs: &'b Gt) -> Gt
[src]
impl<'a> Sub<Gt> for &'a Gt
[src]
impl Sub<Gt> for Gt
[src]
impl<'b> SubAssign<&'b Gt> for Gt
[src]
fn sub_assign(&mut self, rhs: &'b Gt)
[src]
impl SubAssign<Gt> for Gt
[src]
fn sub_assign(&mut self, rhs: Gt)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> ConditionallyNegatable for T where
T: ConditionallySelectable,
&'a T: for<'a> Neg,
<&'a T as Neg>::Output == T,
[src]
T: ConditionallySelectable,
&'a T: for<'a> Neg,
<&'a T as Neg>::Output == T,
fn conditional_negate(&mut self, choice: Choice)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,