Enum gd32f1x0_hal::gpio::OutputMode
source · [−]pub enum OutputMode {
PushPull,
OpenDrain,
}
Variants
PushPull
OpenDrain
Trait Implementations
sourceimpl Clone for OutputMode
impl Clone for OutputMode
sourcefn clone(&self) -> OutputMode
fn clone(&self) -> OutputMode
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 more
sourceimpl Debug for OutputMode
impl Debug for OutputMode
impl Copy for OutputMode
Auto Trait Implementations
impl RefUnwindSafe for OutputMode
impl Send for OutputMode
impl Sync for OutputMode
impl Unpin for OutputMode
impl UnwindSafe for OutputMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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