/// Create new dummy pin that returns the value of `value` every it is read
Create new dummy pin that returns the value of `value` every it is read
Create new dummy pin that returns the value of ` value ` every it is read
pub fn new<F, V>(value: F) -> DummyGpioIn
    where
        V: Into<GpioValue>,
        F: Fn() -> V + 'static,
    {
        DummyGpioIn {
            value: sync::Arc::new(move || value().into()),
            edge: GpioEdge::None,
        }
    }
pub fn new < F , V > ( value : F ) -> DummyGpioIn where V : Into < GpioValue > , F : Fn ( ) -> V + ' static , { DummyGpioIn { value : sync :: Arc :: new ( move | | value ( ) . into ( ) ) , edge : GpioEdge :: None , } }
Create new dummy pin that returns the value of `value` every it is read
Create new dummy pin that returns the value of ` value ` every it is read
value
F