Trait mpi::datatype::Collection

source ·
pub unsafe trait Collection {
    // Required method
    fn count(&self) -> Count;
}
Expand description

A countable collection of things.

Required Methods§

source

fn count(&self) -> Count

How many things are in this collection.

Implementations on Foreign Types§

source§

impl<T> Collection for [T]
where T: Equivalence,

source§

fn count(&self) -> Count

source§

impl<T> Collection for Vec<T>
where T: Equivalence,

source§

fn count(&self) -> Count

source§

impl<T, const D: usize> Collection for [T; D]
where T: Equivalence,

source§

fn count(&self) -> Count

Implementors§

source§

impl<'a> Collection for DynBuffer<'a>

source§

impl<'a> Collection for DynBufferMut<'a>

source§

impl<'d, 'b, D, B> Collection for MutView<'d, 'b, D, B>
where D: 'd + Datatype, B: 'b + PointerMut + ?Sized,

source§

impl<'d, 'b, D, B> Collection for View<'d, 'b, D, B>
where D: 'd + Datatype, B: 'b + Pointer + ?Sized,

source§

impl<T> Collection for T
where T: Equivalence,