Enum utah::mixedtypes::InnerType
[−]
[src]
pub enum InnerType { Float(f64), Int64(i64), Int32(i32), Str(String), Empty, }
Variants
Float(f64)
Int64(i64)
Int32(i32)
Str(String)
Empty
Trait Implementations
impl Decodable for InnerType
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<InnerType, __D::Error>
Deserialize a value using a Decoder
.
impl Clone for InnerType
[src]
fn clone(&self) -> InnerType
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 Debug for InnerType
[src]
impl AsMut<InnerType> for InnerType
[src]
impl Mul for InnerType
[src]
type Output = Self
The resulting type after applying the *
operator
fn mul(self, rhs: Self) -> Self
The method for the *
operator
impl Eq for InnerType
[src]
impl Ord for InnerType
[src]
fn cmp(&self, other: &InnerType) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl PartialOrd for InnerType
[src]
fn partial_cmp(&self, rhs: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialEq for InnerType
[src]
fn eq(&self, rhs: &Self) -> bool
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
This method tests for !=
.
impl Div for InnerType
[src]
type Output = Self
The resulting type after applying the /
operator
fn div(self, rhs: Self) -> Self
The method for the /
operator
impl Add for InnerType
[src]
type Output = Self
The resulting type after applying the +
operator
fn add(self, rhs: Self) -> Self
The method for the +
operator
impl Sub for InnerType
[src]
type Output = Self
The resulting type after applying the -
operator
fn sub(self, rhs: Self) -> Self
The method for the -
operator
impl One for InnerType
[src]
impl Zero for InnerType
[src]
fn zero() -> InnerType
Returns the additive identity element of Self
, 0
. Read more
fn is_zero(&self) -> bool
Returns true
if self
is equal to the additive identity.