#[non_exhaustive]#[repr(u32)]pub enum FlashStrobeSource {
Software = 0,
External = 1,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl AsRef<u32> for FlashStrobeSource
impl AsRef<u32> for FlashStrobeSource
Source§impl Clone for FlashStrobeSource
impl Clone for FlashStrobeSource
Source§fn clone(&self) -> FlashStrobeSource
fn clone(&self) -> FlashStrobeSource
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FlashStrobeSource
impl Debug for FlashStrobeSource
Source§impl Deref for FlashStrobeSource
impl Deref for FlashStrobeSource
Source§impl Display for FlashStrobeSource
impl Display for FlashStrobeSource
Source§impl From<FlashStrobeSource> for u32
impl From<FlashStrobeSource> for u32
Source§fn from(data: FlashStrobeSource) -> Self
fn from(data: FlashStrobeSource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FlashStrobeSource
impl PartialEq for FlashStrobeSource
Source§impl TryFrom<u32> for FlashStrobeSource
impl TryFrom<u32> for FlashStrobeSource
impl Copy for FlashStrobeSource
impl Eq for FlashStrobeSource
impl StructuralPartialEq for FlashStrobeSource
Auto Trait Implementations§
impl Freeze for FlashStrobeSource
impl RefUnwindSafe for FlashStrobeSource
impl Send for FlashStrobeSource
impl Sync for FlashStrobeSource
impl Unpin for FlashStrobeSource
impl UnwindSafe for FlashStrobeSource
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