Enum stm32_hal2::adc::OperationMode
source · [−]#[repr(u8)]
pub enum OperationMode {
OneShot,
Continuous,
}
Expand description
ADC operation mode
Variants
OneShot
OneShot Mode
Continuous
Trait Implementations
sourceimpl Clone for OperationMode
impl Clone for OperationMode
sourcefn clone(&self) -> OperationMode
fn clone(&self) -> OperationMode
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
impl Copy for OperationMode
Auto Trait Implementations
impl RefUnwindSafe for OperationMode
impl Send for OperationMode
impl Sync for OperationMode
impl Unpin for OperationMode
impl UnwindSafe for OperationMode
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