Trait sparse_interp::TwoWay [−][src]
A trait for 2-way conversions that may fail.
Of course, for any x: Source
, it should be the case that
other_way(one_way(x)?)? == x
when possible, but this is not
required.
Required methods
fn other_way(src: Self::Dest) -> Result<Self::Source>
[src]
Conversion from Dest to Source that may fail.
Implementors
impl<S, D> TwoWay for DefConv<S, D> where
Self: OneWay<Source = S, Dest = D>,
DefConv<D, S>: OneWay<Source = D, Dest = S>,
[src]
Self: OneWay<Source = S, Dest = D>,
DefConv<D, S>: OneWay<Source = D, Dest = S>,