UniformStructType

Trait UniformStructType 

Source
pub trait UniformStructType:
    Copy
    + Clone
    + Sized
    + Default
    + Send
    + Sync
    + Debug
    + FFIStruct
    + Any { }
Expand description

The trait that the struct of uniform must implement

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> UniformStructType for T
where T: Copy + Clone + Sized + Default + Send + Sync + Debug + FFIStruct + Any,