Type Alias DataValue64Copy

Source
pub type DataValue64Copy = DataValue64CopyWith<NoData>;
Available on crate feature _value64 only.
Expand description

64-bit data value, restricted to Copy variants.

See also:

Aliased Type§

enum DataValue64Copy {
Show 22 variants None, Extra(()), I8(i8), U8(u8), ByteArray1B([u8; 1]), Bool(bool), I16(i16), U16(u16), ByteArray2B([u8; 2]), I32(i32), U32(u32), F32(f32), ByteArray4B([u8; 4]), Char(char), I64(i64), U64(u64), F64(f64), ByteArray8B([u8; 8]), Isize(isize), Usize(usize), AngleU32(Angle<u32>), AngleI64(Angle<i64>),
}

Variants§

§

None

Represents the absence of data.

§

Extra(())

Extra data values.

§

I8(i8)

8-bit signed integer

§

U8(u8)

8-bit unsigned integer

§

ByteArray1B([u8; 1])

1-Byte byte array

§

Bool(bool)

Boolean value

§

I16(i16)

16-bit signed integer

§

U16(u16)

16-bit unsigned integer

§

ByteArray2B([u8; 2])

2-Byte byte array

§

I32(i32)

32-bit signed integer

§

U32(u32)

32-bit unsigned integer

§

F32(f32)

32-bit floating-point number

§

ByteArray4B([u8; 4])

4-Byte byte array

§

Char(char)

32-bit char

§

I64(i64)

64-bit signed integer

§

U64(u64)

64-bit unsigned integer

§

F64(f64)

64-bit floating-point number

§

ByteArray8B([u8; 8])

8-Byte byte array

§

Isize(isize)

64-bit isize

§

Usize(usize)

64-bit usize

§

AngleU32(Angle<u32>)

Available on crate features geom and _int_u32 only.

32-bit unsigned angle

§

AngleI64(Angle<i64>)

Available on crate features geom and _int_i64 only.

64-bit signed angle

Trait Implementations

Source§

impl<V: Clone + DataValue> Clone for DataValue64CopyWith<V>

Source§

fn clone(&self) -> DataValue64CopyWith<V>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<V: DataValue> DataValue for DataValue64CopyWith<V>

Source§

type Type = DataType64CopyWith<<V as DataValue>::Type>

The DataType type that pairs with this DataValue.
Source§

fn data_values_are_copy() -> bool

Returns whether all values are Copy.
Source§

fn data_value_is_copy(&self) -> bool

Returns whether the specific value is Copy.
Source§

fn data_type(&self) -> Self::Type

Returns the data type of this value.
Source§

impl<V: DataValueCopy> DataValueCopy for DataValue64CopyWith<V>

Source§

fn data_type_copy(&self) -> Self::Type

Returns the data type associated with this Copy value. Read more
Source§

impl<V: Debug + DataValue> Debug for DataValue64CopyWith<V>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<V: DataValueCopy> From<[u8; 1]> for DataValue64CopyWith<V>

Source§

fn from(v: [u8; 1]) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<[u8; 2]> for DataValue64CopyWith<V>

Source§

fn from(v: [u8; 2]) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<[u8; 4]> for DataValue64CopyWith<V>

Source§

fn from(v: [u8; 4]) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<[u8; 8]> for DataValue64CopyWith<V>

Source§

fn from(v: [u8; 8]) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<Angle<i64>> for DataValue64CopyWith<V>

Source§

fn from(v: Angle<i64>) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<Angle<u32>> for DataValue64CopyWith<V>

Source§

fn from(v: Angle<u32>) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<bool> for DataValue64CopyWith<V>

Source§

fn from(v: bool) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<char> for DataValue64CopyWith<V>

Source§

fn from(v: char) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<f32> for DataValue64CopyWith<V>

Source§

fn from(v: f32) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<f64> for DataValue64CopyWith<V>

Source§

fn from(v: f64) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<i16> for DataValue64CopyWith<V>

Source§

fn from(v: i16) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<i32> for DataValue64CopyWith<V>

Source§

fn from(v: i32) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<i64> for DataValue64CopyWith<V>

Source§

fn from(v: i64) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<i8> for DataValue64CopyWith<V>

Source§

fn from(v: i8) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<u16> for DataValue64CopyWith<V>

Source§

fn from(v: u16) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<u32> for DataValue64CopyWith<V>

Source§

fn from(v: u32) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<u64> for DataValue64CopyWith<V>

Source§

fn from(v: u64) -> Self

Converts to this type from the input type.
Source§

impl<V: DataValueCopy> From<u8> for DataValue64CopyWith<V>

Source§

fn from(v: u8) -> Self

Converts to this type from the input type.
Source§

impl<V: PartialEq + DataValue> PartialEq for DataValue64CopyWith<V>

Source§

fn eq(&self, other: &DataValue64CopyWith<V>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<V: Copy + DataValue> Copy for DataValue64CopyWith<V>

Source§

impl<V: DataValue> StructuralPartialEq for DataValue64CopyWith<V>