pub struct ChunkUse {
pub used: Option<u64>,
pub tail: &'static str,
pub note: Option<String>,
pub past_count: bool,
pub covered: bool,
pub unread: Option<&'static str>,
pub unknown: Option<&'static str>,
}Expand description
How much of one strip or tile the decoder reads.
Fields§
§used: Option<u64>Leading bytes the decoder reads; the rest of the declared length is
a Dropped tail. None when the end is not found (compressed data
without a count-only reader).
tail: &'static strWhat the tail is, for its detail.
note: Option<String>A remark for the chunk’s detail.
past_count: boolThe decoder reads used bytes whatever the declared length, so a
shorter declared length is read past (image-tiff reads uncompressed
data by row size).
covered: boolAnother chunk’s extent already covers this one (a decoder reading every row from the first strip): not listed on its own.
unread: Option<&'static str>The decoder never reads this chunk: listed alone as Skipped, why.
unknown: Option<&'static str>What the decoder reads of this chunk was not worked out (a budget ran
out): listed alone as Unknown, why.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChunkUse
impl RefUnwindSafe for ChunkUse
impl Send for ChunkUse
impl Sync for ChunkUse
impl Unpin for ChunkUse
impl UnsafeUnpin for ChunkUse
impl UnwindSafe for ChunkUse
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