Struct region::Region [] [src]

pub struct Region {
    pub base: *mut u8,
    pub guarded: bool,
    pub protection: Flag,
    pub shared: bool,
    pub size: usize,
}

A descriptor for a memory region

Fields

Base address of the region

Whether the region is guarded or not

Protection of the region

Whether the region is shared or not

Size of the region (multiple of page size)

Methods

impl Region
[src]

Returns the regions lower bound.

Returns the regions upper bound.

Trait Implementations

impl Debug for Region
[src]

Formats the value using the given formatter.

impl Clone for Region
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Region
[src]