pub fn with_pull_up_input<R>(
        &mut self,
        f: impl FnOnce(&mut Pin<Input<PullUp>, P, N>) -> R,
    ) -> R {
        self.with_mode(f)
    }
/// Temporarily configures this pin as a pulled-up input.
///
/// The closure `f` is called with the reconfigured pin. After it returns,
/// the pin will be configured back.
Temporarily configures this pin as a pulled-up input.
The closure `f` is called with the reconfigured pin. After it returns,
the pin will be configured back.
Temporarily configures this pin as a pulled - up input . The closure ` f ` is called with the reconfigured pin . After it returns the pin will be configured back .
pub fn with_pull_up_input<R>(
        &mut self,
        f: impl FnOnce(&mut Pin<Input<PullUp>, P, N>) -> R,
    ) -> R {
        self.with_mode(f)
    }
pub fn with_pull_up_input < R > ( & mut self , f : impl FnOnce ( & mut Pin < Input < PullUp > , P , N > ) -> R , ) -> R { self . with_mode ( f ) }
Temporarily configures this pin as a pulled-up input.
Temporarily configures this pin as a pulled - up input .
&mut self
f
impl FnOnce(&mut Pin<Input<PullUp>, P, N>) -> R
&mut self
f
impl FnOnce(&mut Pin<Input<PullUp>, P, N>) -> R