#[repr(transparent)]pub struct Perm(pub u32);
Expand description
Description cluster: Access permissions for region n as defined by start address ACL[n].ADDR and size ACL[n].SIZE
Tuple Fields§
§0: u32
Implementations§
Source§impl Perm
impl Perm
Sourcepub const fn write(&self) -> Write
pub const fn write(&self) -> Write
Configure write and erase permissions for region n. Writing a ‘0’ has no effect.
Sourcepub fn set_write(&mut self, val: Write)
pub fn set_write(&mut self, val: Write)
Configure write and erase permissions for region n. Writing a ‘0’ has no effect.
Trait Implementations§
impl Copy for Perm
impl Eq for Perm
impl StructuralPartialEq for Perm
Auto Trait Implementations§
impl Freeze for Perm
impl RefUnwindSafe for Perm
impl Send for Perm
impl Sync for Perm
impl Unpin for Perm
impl UnwindSafe for Perm
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
)