[][src]Struct salty::field::haase::FieldElement

pub struct FieldElement(pub [u32; 8]);

Methods

impl FieldElement[src]

pub fn reduce_completely(value: &mut FieldElement)[src]

Trait Implementations

impl FieldImplementation for FieldElement[src]

type Limbs = [u32; 8]

Internal representation as limbs

impl PartialEq<FieldElement> for FieldElement[src]

impl<'a, 'b> Add<&'b FieldElement> for &'a FieldElement[src]

type Output = FieldElement

The resulting type after applying the + operator.

fn add(self, other: &'b FieldElement) -> FieldElement[src]

Addition of field elements

impl<'a, 'b> Sub<&'b FieldElement> for &'a FieldElement[src]

type Output = FieldElement

The resulting type after applying the - operator.

impl<'a, 'b> Mul<&'b FieldElement> for &'a FieldElement[src]

type Output = FieldElement

The resulting type after applying the * operator.

impl<'a> Neg for &'a FieldElement[src]

type Output = FieldElement

The resulting type after applying the - operator.

impl<'b> AddAssign<&'b FieldElement> for FieldElement[src]

impl<'b> SubAssign<&'b FieldElement> for FieldElement[src]

impl<'b> MulAssign<&'b FieldElement> for FieldElement[src]

impl Debug for FieldElement[src]

impl Copy for FieldElement[src]

impl Clone for FieldElement[src]

impl Default for FieldElement[src]

impl ConstantTimeEq for FieldElement[src]

impl ConditionallySelectable for FieldElement[src]

Auto Trait Implementations

impl Unpin for FieldElement

impl Send for FieldElement

impl Sync for FieldElement

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ConditionallyNegatable for T where
    T: ConditionallySelectable,
    &'a T: Neg,
    <&'a T as Neg>::Output == T, 
[src]