Enum xio_base_datatypes::DataValue [] [src]

pub enum DataValue<M: IsParameterMask> {
    Boolean(bool),
    UInt8(u8),
    UInt16(u16),
    UInt32(u32),
    UInt64(u64),
    Int8(i8),
    Int16(i16),
    Int32(i32),
    Int64(i64),
    ParameterMask(M),
}

Variants

Trait Implementations

impl<M: IsParameterMask> TryConvertTo<DataType> for DataValue<M>
[src]

impl<M: Clone + IsParameterMask> Clone for DataValue<M>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<M: Debug + IsParameterMask> Debug for DataValue<M>
[src]

[src]

Formats the value using the given formatter. Read more

impl<M: PartialEq + IsParameterMask> PartialEq for DataValue<M>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<M: Eq + IsParameterMask> Eq for DataValue<M>
[src]

impl<M: PartialOrd + IsParameterMask> PartialOrd for DataValue<M>
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<M: Ord + IsParameterMask> Ord for DataValue<M>
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<T: IsParameterMask> From<bool> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<T: IsParameterMask> From<i8> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<T: IsParameterMask> From<i16> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<T: IsParameterMask> From<i32> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<T: IsParameterMask> From<i64> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<T: IsParameterMask> From<u8> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<T: IsParameterMask> From<u16> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<T: IsParameterMask> From<u32> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<T: IsParameterMask> From<u64> for DataValue<T>
[src]

[src]

Performs the conversion.

impl<M: IsParameterMask> HasDataType for DataValue<M>
[src]

[src]

impl<M: IsParameterMask, R: IsModuleChannelReference> From<DataValue<M>> for ParameterValue<M, R>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<M> Send for DataValue<M> where
    M: Send

impl<M> Sync for DataValue<M> where
    M: Sync