Struct mpi::datatype::UserDatatype [] [src]

pub struct UserDatatype(_);

A user defined MPI datatype

Standard section(s)

4

Methods

impl UserDatatype
[src]

[src]

Constructs a new datatype by concatenating count repetitions of oldtype

Examples

See examples/contiguous.rs

Standard section(s)

4.1.2

[src]

Construct a new datatype out of count blocks of blocklength elements of oldtype concatenated with the start of consecutive blocks placed stride elements apart.

Examples

See examples/vector.rs

Standard section(s)

4.1.2

[src]

Like vector() but stride is given in bytes rather than elements of oldtype.

Standard section(s)

4.1.2

[src]

Constructs a new type out of multiple blocks of individual length and displacement. Block i will be blocklengths[i] items of datytpe oldtype long and displaced by dispplacements[i] items of the oldtype.

Standard section(s)

4.1.2

[src]

Constructs a new type out of multiple blocks of individual length and displacement. Block i will be blocklengths[i] items of datytpe oldtype long and displaced by dispplacements[i] bytes.

Standard section(s)

4.1.2

[src]

Construct a new type out of blocks of the same length and individual displacements.

Standard section(s)

4.1.2

[src]

Construct a new type out of blocks of the same length and individual displacements. Displacements are in bytes.

Standard section(s)

4.1.2

[src]

Constructs a new datatype out of blocks of different length, displacement and datatypes

Examples

See examples/structured.rs

Standard section(s)

4.1.2

Trait Implementations

impl Drop for UserDatatype
[src]

[src]

Executes the destructor for this type. Read more

impl AsRaw for UserDatatype
[src]

The raw MPI C API type

[src]

The raw value

impl Datatype for UserDatatype
[src]