Struct crypto::curve25519::Fe
[−]
[src]
pub struct Fe(pub [i32; 10]);
Methods
impl Fe
[src]
fn from_bytes(s: &[u8]) -> Fe
fn to_bytes(&self) -> [u8; 32]
fn maybe_swap_with(&mut self, other: &mut Fe, do_swap: i32)
fn maybe_set(&mut self, other: &Fe, do_swap: i32)
fn invert(&self) -> Fe
Trait Implementations
impl Copy for Fe
[src]
impl Clone for Fe
[src]
fn clone(&self) -> Fe
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Fe
[src]
fn eq(&self, other: &Fe) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Fe
[src]
impl Add for Fe
[src]
type Output = Fe
The resulting type after applying the +
operator
fn add(self, _rhs: Fe) -> Fe
The method for the +
operator
impl Sub for Fe
[src]
type Output = Fe
The resulting type after applying the -
operator
fn sub(self, _rhs: Fe) -> Fe
The method for the -
operator