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