Struct crypto::curve25519::Fe [-] [+] [src]

pub struct Fe(_);

Methods

impl Fe

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)

Trait Implementations

impl PartialEq for Fe

fn eq(&self, other: &Fe) -> bool

fn ne(&self, other: &Rhs) -> bool

impl Eq for Fe

fn assert_receiver_is_total_eq(&self)

impl Add for Fe

type Output = Fe

fn add(self, _rhs: Fe) -> Fe

impl Sub for Fe

type Output = Fe

fn sub(self, _rhs: Fe) -> Fe

impl Mul for Fe

type Output = Fe

fn mul(self, _rhs: Fe) -> Fe

Derived Implementations

impl Copy for Fe