pub struct MemoryBasicInformation {
    pub base_address: usize,
    pub alloc_base: usize,
    pub alloc_protection: PAGE_PROTECTION_FLAGS,
    pub region_size: usize,
    pub state: VIRTUAL_ALLOCATION_TYPE,
    pub protection: PAGE_PROTECTION_FLAGS,
    pub memory_type: PAGE_TYPE,
}
Expand description

Basic information about memory region.

Fields

base_address: usize

Base address of region.

alloc_base: usize

Base address of allocated memory.

alloc_protection: PAGE_PROTECTION_FLAGS

Initial protection of allocated pages.

region_size: usize

Size of region in bytes.

state: VIRTUAL_ALLOCATION_TYPE

Current state of memory region.

protection: PAGE_PROTECTION_FLAGS

Current protection of memory region.

memory_type: PAGE_TYPE

Type of allocated memory.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.