Trait extendr_api::prelude::utils::simd::ConjTy

pub trait ConjTy: Copy + Debug {
    type Flip: ConjTy;

    const CONJ: Conj;

    // Required method
    fn flip(self) -> Self::Flip;
}
Expand description

Similar to Conj, but determined at compile time instead of runtime.

Required Associated Types§

type Flip: ConjTy

The opposing conjugation type.

Required Associated Constants§

const CONJ: Conj

The corresponding Conj value.

Required Methods§

fn flip(self) -> Self::Flip

Returns an instance of the corresponding conjugation type.

Object Safety§

This trait is not object safe.

Implementors§

§

impl ConjTy for NoConj

§

const CONJ: Conj = Conj::No

§

type Flip = YesConj

§

impl ConjTy for YesConj

§

const CONJ: Conj = Conj::Yes

§

type Flip = NoConj