pub struct Config {
pub addr: *const usize,
pub memory: Type,
pub size: Byte,
pub access: Access,
pub executable: bool,
}Expand description
Memory region configurations
Fields§
§addr: *const usizeRegion base address
memory: TypeMemory type
size: ByteSize of region
access: AccessPermissions
executable: boolMemory region can be used to fetch instructions
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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