[−][src]Struct ilda_idtf::layout::Header
Describes the layout of a section of IDTF.
Fields
ilda: [u8; 4]
The ASCII letters ILDA, identifying an ILDA format header.
reserved: [u8; 3]
Reserved for future use. Must be zeroed.
format: Format
One of the format codes defined in the Format Codes section.
data_name: Name
Eight ASCII characters with the name of this frame or color palette. If abinary zero is encountered, than any characters following the zero SHALL be ignored.
company_name: Name
Eight ASCII characters with the name of the company who created theframe. If a binary zero is encountered, than any characters following the zero SHALL beignored.
num_records: U16<Endianness>
Total number of data records (points or colors) that will follow this headerexpressed as an unsigned integer (0 – 65535). If the number of records is 0, then this is to be taken as the end of file header and nomore data will follow this header. For color palettes, the number of records SHALL be between 2 and 256.
data_number: U16<Endianness>
Frame or color palette number. If the frame is part of a group such as an animation sequence, thisrepresents the frame number. Counting begins with frame 0. Range is 0 – 65534.
color_or_total_frames: U16<Endianness>
Total frames in this group or sequence. Range is 1 – 65535.
For colorpalettes this SHALL be 0.
projector_number: u8
The projector number that this frame is to be displayed on. Range is 0 – 255. For single projector files this SHOULD be set 0.
reserved2: u8
Reserved for future use. Must be zeroed.
Methods
impl Header
[src]
Trait Implementations
impl AsBytes for Header
[src]
fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized,
[src]
Self: Sized,
fn as_bytes(&self) -> &[u8]
[src]
fn as_bytes_mut(&mut self) -> &mut [u8] where
Self: FromBytes,
[src]
Self: FromBytes,
impl Clone for Header
[src]
impl Copy for Header
[src]
impl Debug for Header
[src]
impl Eq for Header
[src]
impl FromBytes for Header
[src]
fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized,
[src]
Self: Sized,
impl Hash for Header
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Header> for Header
[src]
impl StructuralEq for Header
[src]
impl StructuralPartialEq for Header
[src]
impl Unaligned for Header
[src]
fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,