Enum rsmorphy::container::score::Score
[−]
[src]
pub enum Score { Real(f64), Fake(f64), }
Variants
Real(f64)
Fake(f64)
Methods
impl Score
[src]
fn value(&self) -> f64
fn value_ref_mut(&mut self) -> &mut f64
Trait Implementations
impl Debug for Score
[src]
impl PartialEq for Score
[src]
fn eq(&self, __arg_0: &Score) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Score) -> bool
This method tests for !=
.
impl Clone for Score
[src]
fn clone(&self) -> Score
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 Copy for Score
[src]
impl Mul for Score
[src]
type Output = Self
The resulting type after applying the *
operator
fn mul(self, rhs: Self) -> Self::Output
The method for the *
operator