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