Struct stm32_metapac::flash::vals::BootrSecbootLock
#[repr(transparent)]pub struct BootrSecbootLock(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl BootrSecbootLock
impl BootrSecbootLock
§impl BootrSecbootLock
impl BootrSecbootLock
pub const fn from_bits(val: u8) -> BootrSecbootLock
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for BootrSecbootLock
impl Clone for BootrSecbootLock
§fn clone(&self) -> BootrSecbootLock
fn clone(&self) -> BootrSecbootLock
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<BootrSecbootLock> for u8
impl From<BootrSecbootLock> for u8
§fn from(val: BootrSecbootLock) -> u8
fn from(val: BootrSecbootLock) -> u8
Converts to this type from the input type.
§impl From<u8> for BootrSecbootLock
impl From<u8> for BootrSecbootLock
§fn from(val: u8) -> BootrSecbootLock
fn from(val: u8) -> BootrSecbootLock
Converts to this type from the input type.
§impl Ord for BootrSecbootLock
impl Ord for BootrSecbootLock
§fn cmp(&self, other: &BootrSecbootLock) -> Ordering
fn cmp(&self, other: &BootrSecbootLock) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for BootrSecbootLock
impl PartialEq for BootrSecbootLock
§fn eq(&self, other: &BootrSecbootLock) -> bool
fn eq(&self, other: &BootrSecbootLock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for BootrSecbootLock
impl PartialOrd for BootrSecbootLock
§fn partial_cmp(&self, other: &BootrSecbootLock) -> Option<Ordering>
fn partial_cmp(&self, other: &BootrSecbootLock) -> 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 BootrSecbootLock
impl Eq for BootrSecbootLock
impl StructuralEq for BootrSecbootLock
impl StructuralPartialEq for BootrSecbootLock
Auto Trait Implementations§
impl RefUnwindSafe for BootrSecbootLock
impl Send for BootrSecbootLock
impl Sync for BootrSecbootLock
impl Unpin for BootrSecbootLock
impl UnwindSafe for BootrSecbootLock
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