Struct mpi::datatype::Partition [] [src]

pub struct Partition<'b, B: 'b + ?Sized, C, D> { /* fields omitted */ }

Adds a partitioning to an existing Buffer so that it becomes Partitioned

Methods

impl<'b, B: ?Sized, C, D> Partition<'b, B, C, D> where
    B: 'b + Buffer,
    C: Borrow<[Count]>,
    D: Borrow<[Count]>, 
[src]

[src]

Partition buf using counts and displs

Trait Implementations

impl<'b, B: ?Sized, C, D> AsDatatype for Partition<'b, B, C, D> where
    B: 'b + AsDatatype
[src]

The type of the associated MPI datatype (e.g. SystemDatatype or UserDatatype)

[src]

The associated MPI datatype

impl<'b, B: ?Sized, C, D> Pointer for Partition<'b, B, C, D> where
    B: 'b + Pointer
[src]

[src]

A pointer to the starting address in memory

impl<'b, B: ?Sized, C, D> Partitioned for Partition<'b, B, C, D> where
    B: 'b,
    C: Borrow<[Count]>,
    D: Borrow<[Count]>, 
[src]

[src]

The count of elements in each partition.

[src]

The displacement from the start of the buffer for each partition.

[src]

A pointer to counts()

[src]

A pointer to displs()

impl<'b, B: ?Sized, C, D> PartitionedBuffer for Partition<'b, B, C, D> where
    B: 'b + Pointer + AsDatatype,
    C: Borrow<[Count]>,
    D: Borrow<[Count]>, 
[src]