Enum Adc4Scandir
#[repr(u8)]pub enum Adc4Scandir {
Upward = 0,
Backward = 1,
}Variants§
Upward = 0
Upward scan (from channel 0 to the highest channel)
Backward = 1
Backward scan (from the highest channel to channel 0)
Implementations§
§impl Adc4Scandir
impl Adc4Scandir
pub const fn from_bits(val: u8) -> Adc4Scandir
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc4Scandir
impl Clone for Adc4Scandir
§fn clone(&self) -> Adc4Scandir
fn clone(&self) -> Adc4Scandir
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Adc4Scandir
§impl Debug for Adc4Scandir
impl Debug for Adc4Scandir
impl Eq for Adc4Scandir
§impl From<Adc4Scandir> for u8
impl From<Adc4Scandir> for u8
§fn from(val: Adc4Scandir) -> u8
fn from(val: Adc4Scandir) -> u8
Converts to this type from the input type.
§impl From<u8> for Adc4Scandir
impl From<u8> for Adc4Scandir
§fn from(val: u8) -> Adc4Scandir
fn from(val: u8) -> Adc4Scandir
Converts to this type from the input type.
§impl Ord for Adc4Scandir
impl Ord for Adc4Scandir
§fn cmp(&self, other: &Adc4Scandir) -> Ordering
fn cmp(&self, other: &Adc4Scandir) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for Adc4Scandir
impl PartialEq for Adc4Scandir
§impl PartialOrd for Adc4Scandir
impl PartialOrd for Adc4Scandir
impl StructuralPartialEq for Adc4Scandir
Auto Trait Implementations§
impl Freeze for Adc4Scandir
impl RefUnwindSafe for Adc4Scandir
impl Send for Adc4Scandir
impl Sync for Adc4Scandir
impl Unpin for Adc4Scandir
impl UnsafeUnpin for Adc4Scandir
impl UnwindSafe for Adc4Scandir
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