Enum ilda::idtf::OldHeader [] [src]

pub enum OldHeader {
    TrueColorFrame {
        frame_name: Option<String>,
        company_name: Option<String>,
        records: u16,
        frame_number: u16,
        total_frames: u16,
        is_3d: bool,
        projector_number: u8,
        points: Vec<TrueColorPoint>,
    },
    IndexedFrame {
        frame_name: Option<String>,
        company_name: Option<String>,
        records: u16,
        frame_number: u16,
        total_frames: u16,
        is_3d: bool,
        projector_number: u8,
        points: Vec<IndexedPoint>,
    },
    ColorPalette {
        palette_name: Option<String>,
        company_name: Option<String>,
        records: u16,
        palette_number: u16,
        projector_number: u8,
        colors: Vec<Color>,
    },
}

Variants

A 2D or 3D frame where each point is assigned an RGB color.

Fields of TrueColorFrame

The number of points records following this header. If 0, this is the EOF header.

If the frame is part of an animation, this is the frame number within the animation sequence.

The number of frames within this sequence.

Whether the z-coordinate is used.

The projector to display this frame on.

A 2D or 3D frame with indexed colors.

Fields of IndexedFrame

The number of points records following this header. If 0, this is the EOF header.

If the frame is part of an animation, this is the frame number within the animation sequence.

The number of frames within this sequence.

Whether the z-coordinate is used.

The projector to display this frame on.

A color palette that is used for IndexedFrames/IndexedPoints.

Fields of ColorPalette

The number of color records following this header. Must be within the range [2, 256]. If 0, this is the EOF header.

Trait Implementations

impl Debug for OldHeader
[src]

Formats the value using the given formatter.