Trait imgui::internal::DataTypeKind

source ·
pub unsafe trait DataTypeKind: Copy {
    const KIND: DataType;
}
Expand description

Primitive type marker.

If this trait is implemented for a type, it is assumed to have exactly the same representation in memory as the primitive value described by the associated KIND constant.

§Safety

The DataType must have the same representation as the primitive value of KIND.

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DataTypeKind for f32

source§

const KIND: DataType = DataType::F32

source§

impl DataTypeKind for f64

source§

const KIND: DataType = DataType::F64

source§

impl DataTypeKind for i8

source§

const KIND: DataType = DataType::I8

source§

impl DataTypeKind for i16

source§

const KIND: DataType = DataType::I16

source§

impl DataTypeKind for i32

source§

const KIND: DataType = DataType::I32

source§

impl DataTypeKind for i64

source§

const KIND: DataType = DataType::I64

source§

impl DataTypeKind for isize

source§

const KIND: DataType = DataType::I64

source§

impl DataTypeKind for u8

source§

const KIND: DataType = DataType::U8

source§

impl DataTypeKind for u16

source§

const KIND: DataType = DataType::U16

source§

impl DataTypeKind for u32

source§

const KIND: DataType = DataType::U32

source§

impl DataTypeKind for u64

source§

const KIND: DataType = DataType::U64

source§

impl DataTypeKind for usize

source§

const KIND: DataType = DataType::U64

Implementors§