pub struct TrueHeader {
pub planes: Option<[(u32, u32); 3]>,
pub seeds: [u16; 3],
pub table: Vec<(u8, u8)>,
pub plane_sizes: [u32; 3],
pub data_offset: usize,
}Expand description
Parsed header of a TRUE-engine raw image section (after the 28-byte image header).
Fields§
§planes: Option<[(u32, u32); 3]>Quattro plane sizes (columns, rows) (bottom, middle, top) when present.
seeds: [u16; 3]§table: Vec<(u8, u8)>(code_size, code) pairs; the symbol of entry i is i (the diff bit length).
plane_sizes: [u32; 3]§data_offset: usizeOffset of the first plane’s data within the parsed slice.
Implementations§
Trait Implementations§
Source§impl Clone for TrueHeader
impl Clone for TrueHeader
Auto Trait Implementations§
impl Freeze for TrueHeader
impl RefUnwindSafe for TrueHeader
impl Send for TrueHeader
impl Sync for TrueHeader
impl Unpin for TrueHeader
impl UnsafeUnpin for TrueHeader
impl UnwindSafe for TrueHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more