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