Trait mpi::datatype::Equivalence

source ·
pub unsafe trait Equivalence {
    type Out: Datatype;

    // Required method
    fn equivalent_datatype() -> Self::Out;
}
Expand description

A direct equivalence exists between the implementing type and an MPI datatype

Standard section(s)

3.2.2

Required Associated Types§

source

type Out: Datatype

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

Required Methods§

source

fn equivalent_datatype() -> Self::Out

The MPI datatype that is equivalent to this Rust type

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Equivalence for bool

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for f32

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for f64

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for i8

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for i16

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for i32

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for i64

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for isize

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for u8

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for u16

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for u32

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for u64

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

source§

impl Equivalence for usize

§

type Out = DatatypeRef<'static>

source§

fn equivalent_datatype() -> Self::Out

Implementors§