Struct feroxide::AtomMass
[−]
[src]
pub struct AtomMass(pub AtomMass_type);
Trait Implementations
impl Debug for AtomMass
[src]
impl Clone for AtomMass
[src]
fn clone(&self) -> AtomMass
[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 PartialEq for AtomMass
[src]
fn eq(&self, __arg_0: &AtomMass) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AtomMass) -> bool
[src]
This method tests for !=
.
impl PartialOrd for AtomMass
[src]
fn partial_cmp(&self, __arg_0: &AtomMass) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &AtomMass) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &AtomMass) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &AtomMass) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &AtomMass) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl From<AtomMass_type> for AtomMass
[src]
fn from(x: AtomMass_type) -> Self
[src]
Performs the conversion.
impl Eq for AtomMass
[src]
impl Ord for AtomMass
[src]
fn cmp(&self, rhs: &Self) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the minimum of two values. Read more
impl Add<AtomMass> for AtomMass
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
Performs the +
operation.
impl AddAssign<AtomMass> for AtomMass
[src]
fn add_assign(&mut self, rhs: Self)
[src]
Performs the +=
operation.
impl Sub<AtomMass> for AtomMass
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self
[src]
Performs the -
operation.
impl SubAssign<AtomMass> for AtomMass
[src]
fn sub_assign(&mut self, rhs: Self)
[src]
Performs the -=
operation.
impl Mul<AtomMass_type> for AtomMass
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: AtomMass_type) -> Self
[src]
Performs the *
operation.
impl MulAssign<AtomMass_type> for AtomMass
[src]
fn mul_assign(&mut self, rhs: AtomMass_type)
[src]
Performs the *=
operation.
impl Div<AtomMass_type> for AtomMass
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: AtomMass_type) -> Self
[src]
Performs the /
operation.
impl DivAssign<AtomMass_type> for AtomMass
[src]
fn div_assign(&mut self, rhs: AtomMass_type)
[src]
Performs the /=
operation.
impl Rem<AtomMass_type> for AtomMass
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, rhs: AtomMass_type) -> Self
[src]
Performs the %
operation.
impl RemAssign<AtomMass_type> for AtomMass
[src]
fn rem_assign(&mut self, rhs: AtomMass_type)
[src]
Performs the %=
operation.