Enum stm32f4xx_hal::adc::config::Resolution
source · [−]pub enum Resolution {
Twelve,
Ten,
Eight,
Six,
}
Expand description
Resolution to sample at
Variants
Twelve
12-bit
Ten
10-bit
Eight
8-bit
Six
6-bit
Trait Implementations
sourceimpl Clone for Resolution
impl Clone for Resolution
sourcefn clone(&self) -> Resolution
fn clone(&self) -> Resolution
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 moresourceimpl Debug for Resolution
impl Debug for Resolution
sourceimpl Format for Resolution
impl Format for Resolution
sourceimpl From<Resolution> for u8
impl From<Resolution> for u8
sourcefn from(r: Resolution) -> u8
fn from(r: Resolution) -> u8
Converts to this type from the input type.
sourceimpl PartialEq<Resolution> for Resolution
impl PartialEq<Resolution> for Resolution
sourcefn eq(&self, other: &Resolution) -> bool
fn eq(&self, other: &Resolution) -> bool
impl Copy for Resolution
impl Eq for Resolution
impl StructuralEq for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnwindSafe for Resolution
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