Trait SpecIso

Source
pub trait SpecIso {
    type Src: SpecFrom<Self::Dst>;
    type Dst: SpecFrom<Self::Src>;
}
Expand description

Spec version of Iso. It mandates that the isomorphism is bijective.

Required Associated Types§

Source

type Src: SpecFrom<Self::Dst>

The source type of the isomorphism.

Source

type Dst: SpecFrom<Self::Src>

The destination type of the isomorphism.

Implementors§