Enum stm32_metapac::flash::vals::WrparUnlock
#[repr(u8)]pub enum WrparUnlock {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
Implementations§
§impl WrparUnlock
impl WrparUnlock
pub const fn from_bits(val: u8) -> WrparUnlock
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for WrparUnlock
impl Clone for WrparUnlock
§fn clone(&self) -> WrparUnlock
fn clone(&self) -> WrparUnlock
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 more§impl From<WrparUnlock> for u8
impl From<WrparUnlock> for u8
§fn from(val: WrparUnlock) -> u8
fn from(val: WrparUnlock) -> u8
Converts to this type from the input type.
§impl From<u8> for WrparUnlock
impl From<u8> for WrparUnlock
§fn from(val: u8) -> WrparUnlock
fn from(val: u8) -> WrparUnlock
Converts to this type from the input type.
§impl Ord for WrparUnlock
impl Ord for WrparUnlock
§impl PartialEq for WrparUnlock
impl PartialEq for WrparUnlock
§fn eq(&self, other: &WrparUnlock) -> bool
fn eq(&self, other: &WrparUnlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for WrparUnlock
impl PartialOrd for WrparUnlock
§fn partial_cmp(&self, other: &WrparUnlock) -> Option<Ordering>
fn partial_cmp(&self, other: &WrparUnlock) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for WrparUnlock
impl Eq for WrparUnlock
impl StructuralEq for WrparUnlock
impl StructuralPartialEq for WrparUnlock
Auto Trait Implementations§
impl RefUnwindSafe for WrparUnlock
impl Send for WrparUnlock
impl Sync for WrparUnlock
impl Unpin for WrparUnlock
impl UnwindSafe for WrparUnlock
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