Enum Adc3Dmacfg
#[repr(u8)]pub enum Adc3Dmacfg {
OneShot = 0,
Circular = 1,
}Variants§
Implementations§
§impl Adc3Dmacfg
impl Adc3Dmacfg
pub const fn from_bits(val: u8) -> Adc3Dmacfg
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc3Dmacfg
impl Clone for Adc3Dmacfg
§fn clone(&self) -> Adc3Dmacfg
fn clone(&self) -> Adc3Dmacfg
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 Adc3Dmacfg
§impl Debug for Adc3Dmacfg
impl Debug for Adc3Dmacfg
impl Eq for Adc3Dmacfg
§impl Format for Adc3Dmacfg
impl Format for Adc3Dmacfg
§impl From<u8> for Adc3Dmacfg
impl From<u8> for Adc3Dmacfg
§fn from(val: u8) -> Adc3Dmacfg
fn from(val: u8) -> Adc3Dmacfg
Converts to this type from the input type.
§impl Ord for Adc3Dmacfg
impl Ord for Adc3Dmacfg
§fn cmp(&self, other: &Adc3Dmacfg) -> Ordering
fn cmp(&self, other: &Adc3Dmacfg) -> 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 Adc3Dmacfg
impl PartialEq for Adc3Dmacfg
§impl PartialOrd for Adc3Dmacfg
impl PartialOrd for Adc3Dmacfg
impl StructuralPartialEq for Adc3Dmacfg
Auto Trait Implementations§
impl Freeze for Adc3Dmacfg
impl RefUnwindSafe for Adc3Dmacfg
impl Send for Adc3Dmacfg
impl Sync for Adc3Dmacfg
impl Unpin for Adc3Dmacfg
impl UnsafeUnpin for Adc3Dmacfg
impl UnwindSafe for Adc3Dmacfg
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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