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
Source§fn clone(&self) -> MPUAllocationRequest
fn clone(&self) -> MPUAllocationRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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