pub unsafe trait Equivalence {
type Out: Datatype;
// Required method
fn equivalent_datatype() -> Self::Out;
}
Expand description
A direct equivalence exists between the implementing type and an MPI datatype
§Standard section(s)
3.2.2
Required Associated Types§
Required Methods§
Sourcefn equivalent_datatype() -> Self::Out
fn equivalent_datatype() -> Self::Out
The MPI datatype that is equivalent to this Rust type
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.