Type Alias DataValue64

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

64-bit data value.

See also:

Aliased Type§

enum DataValue64 {
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 DataValue64With<V>

Source§

fn clone(&self) -> DataValue64With<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 DataValue64With<V>

Source§

type Type = DataType64With<<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: Debug + DataValue> Debug for DataValue64With<V>

Source§

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

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

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

Source§

fn eq(&self, other: &DataValue64With<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: DataValue> StructuralPartialEq for DataValue64With<V>