1 // Ref: https://github.com/rust-lang/rust/issues/23563#issuecomment-260751672
4 fn convert_to(&self) -> T;
7 pub trait LolInto<T>: Sized {
8 fn convert_into(self) -> T;
11 pub trait LolFrom<T> {
15 impl<'a, T: ?Sized, U> LolInto<U> for &'a T where T: LolTo<U> {
16 fn convert_into(self) -> U {
21 impl<T, U> LolFrom<T> for U where T: LolInto<U> {