pub trait Datum:
Clone
+ Send
+ Sync
+ Debug
+ Display
+ Default
+ 'static
+ PartialEq {
// Required methods
fn name() -> &'static str;
fn datum_type() -> DatumType;
fn is<D>() -> bool
where D: Datum;
}
Required Methods§
fn name() -> &'static str
fn datum_type() -> DatumType
fn is<D>() -> boolwhere
D: Datum,
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.