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