pub trait UncommittedDatatype: AsRaw<Raw = MPI_Datatype> {
    type DuplicatedDatatype: FromRaw<Raw = MPI_Datatype>;

    // Provided method
    fn dup(&self) -> Self::DuplicatedDatatype { ... }
}
Expand description

An UncommittedDatatype is a partial description of the layout of messages in memory which may not yet have been committed to an implementation-defined message format.

Committed datatypes can be treated as-if they are uncommitted.

Required Associated Types§

source

type DuplicatedDatatype: FromRaw<Raw = MPI_Datatype>

The type returned when the datatype is duplicated.

Provided Methods§

source

fn dup(&self) -> Self::DuplicatedDatatype

Creates a new datatype with the same key-values as this datatype.

Standard section(s)

4.1.10

Implementations on Foreign Types§

source§

impl<'a, D> UncommittedDatatype for &'a D
where D: 'a + UncommittedDatatype,

Implementors§