Trait CalcList

Source
pub trait CalcList<Quotes> {
    type Result;

    // Required method
    fn calc_list(q: Quotes) -> Self::Result;
}

Required Associated Types§

Required Methods§

Source

fn calc_list(q: Quotes) -> Self::Result

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.

Implementors§

Source§

impl CalcList<HNil> for HNil

Source§

impl<QH, QT, H, T> CalcList<HCons<QH, QT>> for HCons<H, T>
where H: Calc<QH>, T: CalcList<QT>,

Source§

type Result = HCons<<H as Calc<QH>>::Result, <T as CalcList<QT>>::Result>