Struct panopticon_core::region::World [] [src]

pub struct World {
    pub dependencies: RegionGraph,
    pub root: RegionRef,
}

A set of Regions

All Regions of a Project are collected into a World structure. The Regions in a World can overlap. Unlike Layers, overlapping Regions do not map Cells one-to-one. The overlapping Region has a different size than the area it overlaps. Also, iterating over the overlapped part will not yield Cells from the overlapping Region. For example, a compressed file inside a Region would be overlapped with a new, larger Region that holds the result after decompression. A Program inside the overlapped Region would still see only the compressed version.

Fields

< Graph of all Regions with edges pointing from the overlapping to the overlapped Region.

Lowest Region in the stack.

Methods

impl World
[src]

[src]

Creates a new World with a single Region reg

[src]

Vector of all Region in self and their uncovered area

Trait Implementations

impl Clone for World
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for World
[src]

[src]

Formats the value using the given formatter. Read more