Struct mpi::datatype::DatatypeRef
[−]
[src]
pub struct DatatypeRef<'a> { /* fields omitted */ }A reference to an MPI data type.
This is similar to a raw MPI_Datatype but is guaranteed to be a valid for 'a.
Methods
impl<'a> DatatypeRef<'a>[src]
pub unsafe fn from_raw(datatype: MPI_Datatype) -> Self[src]
Wrap a raw handle. The handle must remain valid for 'a.
Trait Implementations
impl<'a> Copy for DatatypeRef<'a>[src]
impl<'a> Clone for DatatypeRef<'a>[src]
fn clone(&self) -> DatatypeRef<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Debug for DatatypeRef<'a>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more