Trait mpi::datatype::Buffer

source ·
pub unsafe trait Buffer: Pointer + Collection + AsDatatype { }
Expand description

A buffer is a region in memory that starts at pointer() and contains count() copies of as_datatype().

Implementations on Foreign Types§

source§

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

source§

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

source§

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

Implementors§

source§

impl<'a> Buffer for DynBuffer<'a>

source§

impl<'a> Buffer for DynBufferMut<'a>

source§

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

source§

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