pub trait PartialIso<'x>: Viewwhere
Self::V: SpecPartialIso<Src = <Self::Src as View>::V, Dst = <Self::Dst as View>::V>,
<Self::Src as View>::V: SpecTryFrom<<Self::Dst as View>::V>,
<Self::Dst as View>::V: SpecTryFrom<<Self::Src as View>::V>,
Self::Dst: 'x,{
type Src: View;
type RefSrc: View<V = <Self::Src as View>::V> + TryFrom<&'x Self::Dst>;
type Dst: View + TryFrom<Self::Src>;
}Expand description
Fallible version of Iso.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.