Trait meshx::Pod

source ·
pub trait Pod: 'static + Copy + Sized + Send + Sync + Any { }
Expand description

Plain old data trait. Types that implement this trait contain no references and can be copied with memcpy. The additional Any trait lets us inspect the type more easily.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Pod for T
where T: 'static + Copy + Sized + Send + Sync + Any,