Enum stm32_hal2::gpio::OutputType
source · [−]#[repr(u8)]
pub enum OutputType {
PushPull,
OpenDrain,
}
Expand description
Values for GPIOx_OTYPER
.
Variants
PushPull
OpenDrain
Trait Implementations
sourceimpl Clone for OutputType
impl Clone for OutputType
sourcefn clone(&self) -> OutputType
fn clone(&self) -> OutputType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for OutputType
Auto Trait Implementations
impl RefUnwindSafe for OutputType
impl Send for OutputType
impl Sync for OutputType
impl Unpin for OutputType
impl UnwindSafe for OutputType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more