Trait embedded_hal_compat::ForwardCompat
source · pub trait ForwardCompat<T, M = ()> {
// Required method
fn forward(self) -> Forward<T, M>;
}
Expand description
Helper trait to convert a type for forward compatibility
call .forward()
on e-h@0.2.x
types to create an e-h@1.x.x
compatible wrapper object
Required Methods§
Implementors§
impl<T, M> ForwardCompat<T, M> for T
Blanket ForwardCompat implementation (note input/output/io pins may require type annotations)