pub trait IntoPushPullOutputPin: Pin {
type PushPullOutputPin: OutputPin<Error = Self::Error> + Unpin;
// Required method
fn into_push_pull_output_pin(
self,
initial_high: bool,
) -> Result<Self::PushPullOutputPin, Self::Error>;
}Expand description
A pin that can be turned into an OutputPin that is in push-pull mode.
Required Associated Types§
Required Methods§
Sourcefn into_push_pull_output_pin(
self,
initial_high: bool,
) -> Result<Self::PushPullOutputPin, Self::Error>
fn into_push_pull_output_pin( self, initial_high: bool, ) -> Result<Self::PushPullOutputPin, Self::Error>
Attempts to re-configure this pin into the new mode.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".