pub struct Atx {
pub chunks: Vec<ChunkRef>,
pub head: Option<Head>,
pub payload: Option<Payload>,
pub warnings: Vec<String>,
}Expand description
A parsed ATX container: its chunk inventory, optional HEAD metadata, optional texture payload, and any non-fatal parse warnings (truncation, trailing bytes).
Fields§
§chunks: Vec<ChunkRef>Every chunk located by the framed walk, in file order.
head: Option<Head>The parsed HEAD metadata, if a well-formed HEAD chunk was present.
payload: Option<Payload>The located texture payload, if an astc/ASTC/LZFS chunk was present.
warnings: Vec<String>Non-fatal anomalies surfaced during the walk (fail-loud, never silent).
Trait Implementations§
impl Eq for Atx
impl StructuralPartialEq for Atx
Auto Trait Implementations§
impl Freeze for Atx
impl RefUnwindSafe for Atx
impl Send for Atx
impl Sync for Atx
impl Unpin for Atx
impl UnsafeUnpin for Atx
impl UnwindSafe for Atx
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