pub trait ConvertBack<A, B>: Convert<A, B> {
    // Required method
    fn convert_back(b: B) -> A;
}
Expand description

Extensible conversion trait. Generic over both source and destination types.

Required Methods§

source

fn convert_back(b: B) -> A

Make conversion back.

Implementors§

source§

impl<T> ConvertBack<T, T> for Identity