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
§impl PartialOrd for DbgcfgLock
impl PartialOrd for DbgcfgLock
impl Copy for DbgcfgLock
impl Eq for DbgcfgLock
impl StructuralPartialEq for DbgcfgLock
Auto Trait Implementations§
impl Freeze for DbgcfgLock
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)