Enum panopticon_core::layer::OpaqueLayer [] [src]

pub enum OpaqueLayer {
    Undefined(u64),
    Defined(Arc<Vec<u8>>),
}

Layer that replace all overlapped Cells.

Variants

Layer consisting of undefined cells.

Layer consisting of fixed byte values.

Methods

impl OpaqueLayer
[src]

[src]

Iterator over all Cell inside the Layer

[src]

Number of Cells overlapped by the Layer

[src]

Create a new Layer that replaces overlapped Cells with the contents of the file at path. The Layer will have the size of the file.

[src]

Create a new Layer that replaces overlapped Cells with the contents of data. The Layer will have the size of the vector.

[src]

Create a new Layer of size len that replaces overlapped Cells undefined ones.

Trait Implementations

impl Clone for OpaqueLayer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for OpaqueLayer
[src]

[src]

Formats the value using the given formatter. Read more