Type Alias DataType64Copy

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

64-bit data type, restricted to Copy variants.

See also:

Aliased Type§

enum DataType64Copy {
Show 22 variants None, Extra(()), I8, U8, ByteArray1B, Bool, I16, U16, ByteArray2B, I32, U32, F32, ByteArray4B, Char, I64, U64, F64, ByteArray8B, Isize, Usize, AngleU32, AngleI64,
}

Variants§

§

None

Represents the absence of data.

§

Extra(())

A custom data type extension.

§

I8

8-bit signed integer

§

U8

8-bit unsigned integer

§

ByteArray1B

1-Byte byte array

§

Bool

Boolean value

§

I16

16-bit signed integer

§

U16

16-bit unsigned integer

§

ByteArray2B

2-Byte byte array

§

I32

32-bit signed integer

§

U32

32-bit unsigned integer

§

F32

32-bit floating-point number

§

ByteArray4B

4-Byte byte array

§

Char

32-bit char

§

I64

64-bit signed integer

§

U64

64-bit unsigned integer

§

F64

64-bit floating-point number

§

ByteArray8B

8-Byte byte array

§

Isize

64-bit isize

§

Usize

64-bit usize

§

AngleU32

Available on crate features geom and _int_u32 only.

32-bit unsigned angle

§

AngleI64

Available on crate features geom and _int_i64 only.

64-bit signed angle

Trait Implementations

Source§

impl<T: Clone + DataType> Clone for DataType64CopyWith<T>

Source§

fn clone(&self) -> DataType64CopyWith<T>

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<T: DataType> DataType for DataType64CopyWith<T>

Source§

type Value = DataValue64CopyWith<<T as DataType>::Value>

The DataValue type that pairs with this DataType.
Source§

fn data_values_are_copy() -> bool

Returns whether all values represented by this type are Copy.
Source§

fn data_value_is_copy(&self) -> bool

Returns whether the specific value for this type is Copy.
Source§

fn data_value_default(&self) -> Option<Self::Value>

Returns the default value for this type, or None if not available.
Source§

fn data_value_align(&self) -> usize

Returns the alignment of the value represented by this type.
Source§

fn data_value_size(&self) -> usize

Returns the size of the value represented by this type.
Source§

impl<T: DataTypeCopy> DataTypeCopy for DataType64CopyWith<T>
where T::Value: DataValueCopy,

Source§

fn data_value_copy_default(&self) -> Option<Self::Value>

Returns the default value for this Copy type, or None if not available. Read more
Source§

impl<T: Debug + DataType> Debug for DataType64CopyWith<T>

Source§

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

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

impl<T: PartialEq + DataType> PartialEq for DataType64CopyWith<T>

Source§

fn eq(&self, other: &DataType64CopyWith<T>) -> 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<T: Copy + DataType> Copy for DataType64CopyWith<T>

Source§

impl<T: DataType> StructuralPartialEq for DataType64CopyWith<T>