#[repr(transparent)]pub struct FlashregionPerm(pub u32);
Expand description
Description cluster: Access permissions for flash region n
Tuple Fields§
§0: u32
Implementations§
Source§impl FlashregionPerm
impl FlashregionPerm
Sourcepub const fn execute(&self) -> bool
pub const fn execute(&self) -> bool
Configure instruction fetch permissions from flash region n
Sourcepub fn set_execute(&mut self, val: bool)
pub fn set_execute(&mut self, val: bool)
Configure instruction fetch permissions from flash region n
Sourcepub fn set_secattr(&mut self, val: bool)
pub fn set_secattr(&mut self, val: bool)
Security attribute for flash region n
pub const fn lock(&self) -> bool
pub fn set_lock(&mut self, val: bool)
Trait Implementations§
Source§impl Clone for FlashregionPerm
impl Clone for FlashregionPerm
Source§fn clone(&self) -> FlashregionPerm
fn clone(&self) -> FlashregionPerm
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 moreSource§impl Default for FlashregionPerm
impl Default for FlashregionPerm
Source§fn default() -> FlashregionPerm
fn default() -> FlashregionPerm
Returns the “default value” for a type. Read more
Source§impl PartialEq for FlashregionPerm
impl PartialEq for FlashregionPerm
impl Copy for FlashregionPerm
impl Eq for FlashregionPerm
impl StructuralPartialEq for FlashregionPerm
Auto Trait Implementations§
impl Freeze for FlashregionPerm
impl RefUnwindSafe for FlashregionPerm
impl Send for FlashregionPerm
impl Sync for FlashregionPerm
impl Unpin for FlashregionPerm
impl UnwindSafe for FlashregionPerm
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
)