pub trait CanComputeRef<Code, Input> {
type Output;
// Required method
fn compute_ref(
&self,
_code: PhantomData<Code>,
input: &Input,
) -> Self::Output;
}pub trait CanComputeRef<Code, Input> {
type Output;
// Required method
fn compute_ref(
&self,
_code: PhantomData<Code>,
input: &Input,
) -> Self::Output;
}