Trait pcd_rs::traits::Value

source ·
pub trait Value
where Self: Copy,
{ const KIND: ValueKind; }
Expand description

This trait assocaites Rust primitive types to PCD primitive types.

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Value for f32

source§

const KIND: ValueKind = ValueKind::F32

source§

impl Value for f64

source§

const KIND: ValueKind = ValueKind::F64

source§

impl Value for i8

source§

const KIND: ValueKind = ValueKind::I8

source§

impl Value for i16

source§

const KIND: ValueKind = ValueKind::I16

source§

impl Value for i32

source§

const KIND: ValueKind = ValueKind::I32

source§

impl Value for u8

source§

const KIND: ValueKind = ValueKind::U8

source§

impl Value for u16

source§

const KIND: ValueKind = ValueKind::U16

source§

impl Value for u32

source§

const KIND: ValueKind = ValueKind::U32

Implementors§