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