Struct Perm
#[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§
§impl Perm
impl Perm
pub 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.
pub 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