Enum xio_common::DataValue
[−]
[src]
pub enum DataValue { Boolean(bool), Int8(i8), Int16(i16), Int32(i32), Int64(i64), UInt8(u8), UInt16(u16), UInt32(u32), UInt64(u64), ParameterMask(u64), }
Variants
Boolean(bool)
Int8(i8)
Int16(i16)
Int32(i32)
Int64(i64)
UInt8(u8)
UInt16(u16)
UInt32(u32)
UInt64(u64)
ParameterMask(u64)
Trait Implementations
impl Clone for DataValue
[src]
fn clone(&self) -> DataValue
[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 Debug for DataValue
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for DataValue
[src]
fn eq(&self, __arg_0: &DataValue) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DataValue) -> bool
[src]
This method tests for !=
.
impl From<bool> for DataValue
[src]
impl From<i8> for DataValue
[src]
impl From<i16> for DataValue
[src]
impl From<i32> for DataValue
[src]
impl From<i64> for DataValue
[src]
impl From<u8> for DataValue
[src]
impl From<u16> for DataValue
[src]
impl From<u32> for DataValue
[src]
impl From<u64> for DataValue
[src]
impl PreliminaryTryFrom<(u8, u64)> for DataValue
[src]
impl From<DataValue> for ParameterValue
[src]
fn from(v: DataValue) -> ParameterValue
[src]
Performs the conversion.