Enum flipper0::ffi::PowerBootMode
source · #[non_exhaustive]
pub enum PowerBootMode {
PowerBootModeNormal,
PowerBootModeDfu,
PowerBootModeUpdateStart,
}
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.
PowerBootModeNormal
PowerBootModeDfu
PowerBootModeUpdateStart
Trait Implementations
sourceimpl Clone for PowerBootMode
impl Clone for PowerBootMode
sourcefn clone(&self) -> PowerBootMode
fn clone(&self) -> PowerBootMode
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 PowerBootMode
impl Debug for PowerBootMode
sourceimpl Hash for PowerBootMode
impl Hash for PowerBootMode
sourceimpl PartialEq<PowerBootMode> for PowerBootMode
impl PartialEq<PowerBootMode> for PowerBootMode
sourcefn eq(&self, other: &PowerBootMode) -> bool
fn eq(&self, other: &PowerBootMode) -> bool
impl Eq for PowerBootMode
impl StructuralEq for PowerBootMode
impl StructuralPartialEq for PowerBootMode
Auto Trait Implementations
impl RefUnwindSafe for PowerBootMode
impl Send for PowerBootMode
impl Sync for PowerBootMode
impl Unpin for PowerBootMode
impl UnwindSafe for PowerBootMode
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