Struct weave::Header [] [src]

pub struct Header {
    pub version: usize,
    pub deltas: Vec<DeltaInfo>,
}

The header placed at the beginning of the each weave file.

Fields

Methods

impl Header
[src]

Construct a new header, with no deltas in it.

Decode from the first line of the file.

Add a delta to this header. Returns the delta number to be used.

Write the header to the writer, as the first line.

Trait Implementations

impl Clone for Header
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more