Struct stm32f4xx_hal::gpio::Alternate
source · pub struct Alternate<const A: u8, Otype = PushPull>(/* private fields */);
Expand description
Some alternate mode (type state)
Trait Implementations§
impl<const A: u8> PinMode for Alternate<A, PushPull>
impl<const A: u8> PinMode for Alternate<A, OpenDrain>
Auto Trait Implementations§
impl<const A: u8, Otype> RefUnwindSafe for Alternate<A, Otype>where
Otype: RefUnwindSafe,
impl<const A: u8, Otype> Send for Alternate<A, Otype>where
Otype: Send,
impl<const A: u8, Otype> Sync for Alternate<A, Otype>where
Otype: Sync,
impl<const A: u8, Otype> Unpin for Alternate<A, Otype>where
Otype: Unpin,
impl<const A: u8, Otype> UnwindSafe for Alternate<A, Otype>where
Otype: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more