pub trait SaneData: Copy {
// Required method
fn sane_data_type() -> DataType;
}
Expand description
An element type with the SaneData
trait defines which of the supported data
types it corresponds to
Required Methods§
fn sane_data_type() -> DataType
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.