Enum ur20::ChannelValue
[−]
[src]
pub enum ChannelValue { Bit(bool), Decimal32(f32), ComRsIn(RsIn), ComRsOut(RsOut), Disabled, None, }
Data type used by the module channels.
Variants
Bit(bool)
A single bit (0 == false)
Decimal32(f32)
A 32-Bit float value.
ComRsIn(RsIn)
Special input data used by 1COM-232-485-422
ComRsOut(RsOut)
Special output data used by 1COM-232-485-422
Disabled
The channel is currently disabled.
None
The channel has no data at all.
Trait Implementations
impl Debug for ChannelValue
[src]
impl Clone for ChannelValue
[src]
fn clone(&self) -> ChannelValue
[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 ChannelValue
[src]
fn eq(&self, __arg_0: &ChannelValue) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ChannelValue) -> bool
[src]
This method tests for !=
.