Struct ilda::data::Header
[−]
[src]
pub struct Header { pub reserved: u16, pub format_code: u8, pub name: Option<String>, pub company_name: Option<String>, pub record_count: u16, pub number: u16, pub total_frames: u16, pub projector_number: u8, pub reserved_2: u8, }
A Raw ILDA header.
Fields
reserved: u16
The first reserved portion of the ILDA header.
format_code: u8
The format, or type, of the header.
name: Option<String>
The name of the frame or color palette.
company_name: Option<String>
The name of the company.
record_count: u16
The number of records (eg. points) following this header. If 0, this is the EOF header.
number: u16
If the frame is part of an animation, this is the frame number within the animation sequence. If this is a color palette header, it's the palette number.
total_frames: u16
The total number of frames within this sequence. If this is a
color palette, this shall be 0
.
projector_number: u8
The projector to display this frame on.
reserved_2: u8
The final reserved portion.
Methods
impl Header
[src]
fn get_format(&self) -> Format
Returns the format of the header.
Trait Implementations
impl Clone for Header
[src]
fn clone(&self) -> Header
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more