Trait mpi::datatype::Partitioned

source ·
pub trait Partitioned {
    // Required methods
    fn counts(&self) -> &[Count];
    fn displs(&self) -> &[Count];
}
Expand description

Describes how a Buffer is partitioned by specifying the count of elements and displacement from the start of the buffer for each partition.

Required Methods§

source

fn counts(&self) -> &[Count]

The count of elements in each partition.

source

fn displs(&self) -> &[Count]

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

Implementors§

source§

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

source§

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