Enum stm32_metapac::flash::vals::Spriv
#[repr(u8)]pub enum Spriv {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
access to secure registers is always granted
B_0X1 = 1
access to secure registers is denied in case of unprivileged access.
Implementations§
Trait Implementations§
§impl Ord for Spriv
impl Ord for Spriv
§impl PartialOrd for Spriv
impl PartialOrd for Spriv
impl Copy for Spriv
impl Eq for Spriv
impl StructuralPartialEq for Spriv
Auto Trait Implementations§
impl Freeze for Spriv
impl RefUnwindSafe for Spriv
impl Send for Spriv
impl Sync for Spriv
impl Unpin for Spriv
impl UnwindSafe for Spriv
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
)