Enum xmc4300::sdmmc::present_state::WriteProtectPinLevel
source · pub enum WriteProtectPinLevel {
Value1 = 0,
Value2 = 1,
}
Expand description
Write Protect Switch Pin Level
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for WriteProtectPinLevel
impl Clone for WriteProtectPinLevel
source§fn clone(&self) -> WriteProtectPinLevel
fn clone(&self) -> WriteProtectPinLevel
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 WriteProtectPinLevel
impl Debug for WriteProtectPinLevel
source§impl From<WriteProtectPinLevel> for bool
impl From<WriteProtectPinLevel> for bool
source§fn from(variant: WriteProtectPinLevel) -> Self
fn from(variant: WriteProtectPinLevel) -> Self
Converts to this type from the input type.
source§impl PartialEq for WriteProtectPinLevel
impl PartialEq for WriteProtectPinLevel
source§fn eq(&self, other: &WriteProtectPinLevel) -> bool
fn eq(&self, other: &WriteProtectPinLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WriteProtectPinLevel
impl Eq for WriteProtectPinLevel
impl StructuralPartialEq for WriteProtectPinLevel
Auto Trait Implementations§
impl RefUnwindSafe for WriteProtectPinLevel
impl Send for WriteProtectPinLevel
impl Sync for WriteProtectPinLevel
impl Unpin for WriteProtectPinLevel
impl UnwindSafe for WriteProtectPinLevel
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