pub trait TryConvertBack<A, B>: Convert<A, B> {
// Required method
fn try_convert_back(b: B) -> Option<A>;
}
Expand description
Extensible conversion trait. Generic over both source and destination types.
Required Methods§
sourcefn try_convert_back(b: B) -> Option<A>
fn try_convert_back(b: B) -> Option<A>
Make conversion back.
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.