pub struct MPUAllocationRequest {
pub memory: Memory,
pub permissions: MPUPermissions,
pub attributes: MPUAttributes,
pub preferred_base: Option<u32>,
}Expand description
Request for MPU region allocation
Fields§
§memory: MemoryMemory to protect
permissions: MPUPermissionsDesired permissions
attributes: MPUAttributesMemory attributes
preferred_base: Option<u32>Preferred base address (None = allocator chooses)
Trait Implementations§
Source§impl Clone for MPUAllocationRequest
impl Clone for MPUAllocationRequest
Auto Trait Implementations§
impl Freeze for MPUAllocationRequest
impl RefUnwindSafe for MPUAllocationRequest
impl Send for MPUAllocationRequest
impl Sync for MPUAllocationRequest
impl Unpin for MPUAllocationRequest
impl UnsafeUnpin for MPUAllocationRequest
impl UnwindSafe for MPUAllocationRequest
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