trait Convert {
    type From;
    type To;

    // Required method
    fn convert(from: Self::From) -> Self::To;
}

Required Associated Types§

Required Methods§

source

fn convert(from: Self::From) -> Self::To

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<A: Data, B: Data> Convert for ToLeftSplitConvert<A, B>

§

type From = A

§

type To = Split<A, B>

source§

impl<A: Data, B: Data> Convert for ToRightSplitConvert<A, B>

§

type From = B

§

type To = Split<A, B>