Struct esp_idf_svc::hal::gpio::Gpio2
source · pub struct Gpio2(/* private fields */);
Implementations§
Trait Implementations§
source§impl From<Gpio2> for AnyInputPin
impl From<Gpio2> for AnyInputPin
source§fn from(pin: Gpio2) -> AnyInputPin
fn from(pin: Gpio2) -> AnyInputPin
Converts to this type from the input type.
source§impl From<Gpio2> for AnyOutputPin
impl From<Gpio2> for AnyOutputPin
source§fn from(pin: Gpio2) -> AnyOutputPin
fn from(pin: Gpio2) -> AnyOutputPin
Converts to this type from the input type.
source§impl InputPin for Gpio2
impl InputPin for Gpio2
fn downgrade_input(self) -> AnyInputPin
source§impl OutputPin for Gpio2
impl OutputPin for Gpio2
fn downgrade_output(self) -> AnyOutputPin
source§impl Peripheral for Gpio2
impl Peripheral for Gpio2
impl Send for Gpio2
Auto Trait Implementations§
impl Freeze for Gpio2
impl RefUnwindSafe for Gpio2
impl !Sync for Gpio2
impl Unpin for Gpio2
impl UnwindSafe for Gpio2
Blanket Implementations§
source§impl<'d, P> AdcChannels for P
impl<'d, P> AdcChannels for P
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more