Trait ElementType

Source
pub trait ElementType:
    Default
    + Sized
    + Copy
    + Encode
    + Decode
    + Debug
    + Unpin
    + Send
    + Sync { }
Expand description

Basic Type that can be used in a buffer in a CuPool.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> ElementType for T
where T: Default + Sized + Copy + Encode + Decode + Debug + Unpin + Send + Sync,

Blanket implementation for all types that are Sized, Copy, Encode, Decode and Debug.