pub struct RawStream {
    pub width: u16,
    pub height: u16,
    pub tps: DeltaT,
    pub ref_interval: DeltaT,
    pub delta_t_max: DeltaT,
    pub channels: u8,
    /* private fields */
}

Fields

width: u16height: u16tps: DeltaTref_interval: DeltaTdelta_t_max: DeltaTchannels: u8

Trait Implementations

Encode the header for this RawStream. If an [input_stream] is open for this struct already, then it is dropped. Intended usage is to create a separate RawStream if you want to read and write two streams at once (for example, if you are cropping the spatial pixels of a stream, reducing the number of channels, or scaling the DeltaT values in some way).

Flush the stream so that program can be exited safely

Close the stream so that program can be exited safely

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.