pub trait BufferDataType: DataType { }
Expand description

The basic data type used for each element in a VertexBuffer or InstanceBuffer.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BufferDataType for f32

source§

impl BufferDataType for i8

source§

impl BufferDataType for i16

source§

impl BufferDataType for i32

source§

impl BufferDataType for u8

source§

impl BufferDataType for u16

source§

impl BufferDataType for u32

source§

impl<T: BufferDataType + ?Sized> BufferDataType for &T

source§

impl<T: BufferDataType + PrimitiveDataType> BufferDataType for [T; 2]

source§

impl<T: BufferDataType + PrimitiveDataType> BufferDataType for [T; 3]

source§

impl<T: BufferDataType + PrimitiveDataType> BufferDataType for [T; 4]

Implementors§

source§

impl BufferDataType for f16

source§

impl BufferDataType for Quat

source§

impl<T: BufferDataType + PrimitiveDataType> BufferDataType for Vector2<T>

source§

impl<T: BufferDataType + PrimitiveDataType> BufferDataType for Vector3<T>

source§

impl<T: BufferDataType + PrimitiveDataType> BufferDataType for Vector4<T>