Struct panopticon_core::region::Region [] [src]

pub struct Region { /* fields omitted */ }

A continuous sequcence of Cells

Regions are a stack of Layer inside a single address space. The Region is the primary way panopticon handles data. They can be created from files or in-memory buffers.

Methods

impl Region
[src]

[src]

Creates a new Region called name that is filled with the contents of the file at path.

[src]

Creates a new Region called name, filled with data.

[src]

Creates a new Region called name, of size len with all Cells undefined.

[src]

Creates a new Region called name with the contens of root.

[src]

Applies layer to the cells inside area.

Returns

false if area is outside of 0..self.size() of not compatible with layer, true otherwise.

[src]

Iterator over all Cells, starting at 0.

[src]

Vector of all uncovered parts.

[src]

Stack of all Layer and covered area.

[src]

Number of Cells.

[src]

Name of the Region

Trait Implementations

impl Clone for Region
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Region
[src]

[src]

Formats the value using the given formatter. Read more