pub struct MemoryMapBuilder { /* private fields */ }
Implementations§
Source§impl MemoryMapBuilder
impl MemoryMapBuilder
pub fn new(page_size: u32) -> Self
pub fn ro_data_size(&mut self, value: u32) -> &mut Self
pub fn rw_data_size(&mut self, value: u32) -> &mut Self
pub fn stack_size(&mut self, value: u32) -> &mut Self
pub fn aux_data_size(&mut self, value: u32) -> &mut Self
pub fn build(&self) -> Result<MemoryMap, &'static str>
Trait Implementations§
Source§impl Clone for MemoryMapBuilder
impl Clone for MemoryMapBuilder
Source§fn clone(&self) -> MemoryMapBuilder
fn clone(&self) -> MemoryMapBuilder
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 moreAuto Trait Implementations§
impl Freeze for MemoryMapBuilder
impl RefUnwindSafe for MemoryMapBuilder
impl Send for MemoryMapBuilder
impl Sync for MemoryMapBuilder
impl Unpin for MemoryMapBuilder
impl UnwindSafe for MemoryMapBuilder
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