Struct stm32_metapac::flash::regs::Optccr
#[repr(transparent)]pub struct Optccr(pub u32);
Expand description
FLASH option clear control register
Tuple Fields§
§0: u32
Implementations§
§impl Optccr
impl Optccr
pub const fn clr_optchangeerr(&self) -> bool
pub const fn clr_optchangeerr(&self) -> bool
OPTCHANGEERR reset bit
pub fn set_clr_optchangeerr(&mut self, val: bool)
pub fn set_clr_optchangeerr(&mut self, val: bool)
OPTCHANGEERR reset bit
Trait Implementations§
impl Copy for Optccr
impl Eq for Optccr
impl StructuralPartialEq for Optccr
Auto Trait Implementations§
impl Freeze for Optccr
impl RefUnwindSafe for Optccr
impl Send for Optccr
impl Sync for Optccr
impl Unpin for Optccr
impl UnwindSafe for Optccr
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
)