#[repr(C)]pub struct MemDescriptor {
pub region: MemRegion,
pub address: c_uint,
pub size: c_uint,
pub accessTypes: MemAccessType,
pub reserved: [c_char; 64],
}Expand description
\brief A structure that defines the location and access properties of the physical memory of a device.
The struct contains fields for the memory address, size, and access type.
Fields§
§region: MemRegionThe enumeration indicating the region of the memory.
address: c_uintA numeric value that specifies the address of the memory; used with ulMemRead() and ulMemWrite().
size: c_uintA numeric value that specifies the size of the memory area at the specified address.
accessTypes: MemAccessTypeA bitmask indicating the access rights to the memory at the specified address (read, write, or both).
reserved: [c_char; 64]Reserved for future use
Trait Implementations§
Source§impl Clone for MemDescriptor
impl Clone for MemDescriptor
Source§fn clone(&self) -> MemDescriptor
fn clone(&self) -> MemDescriptor
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 moreimpl Copy for MemDescriptor
Auto Trait Implementations§
impl Freeze for MemDescriptor
impl RefUnwindSafe for MemDescriptor
impl Send for MemDescriptor
impl Sync for MemDescriptor
impl Unpin for MemDescriptor
impl UnsafeUnpin for MemDescriptor
impl UnwindSafe for MemDescriptor
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