Struct crypto::curve25519::Fe
[−]
[src]
pub struct Fe(pub [i32; 10]);
Methods
impl Fe
[src]
fn from_bytes(s: &[u8]) -> Fe
[src]
fn to_bytes(&self) -> [u8; 32]
[src]
fn maybe_swap_with(&mut self, other: &mut Fe, do_swap: i32)
[src]
fn maybe_set(&mut self, other: &Fe, do_swap: i32)
[src]
fn invert(&self) -> Fe
[src]
Trait Implementations
impl Clone for Fe
[src]
fn clone(&self) -> Fe
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Fe
[src]
impl PartialEq for Fe
[src]
fn eq(&self, other: &Fe) -> bool
[src]
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[src]
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
[src]
Performs the +
operation.
impl Sub for Fe
[src]
type Output = Fe
The resulting type after applying the -
operator.
fn sub(self, _rhs: Fe) -> Fe
[src]
Performs the -
operation.