pub enum Count {
Tag(u16),
ToEnd,
Bytes(u64),
JpegQuantization,
JpegHuffman,
}Expand description
How long the extents of an ExtentRule are.
Variants§
Tag(u16)
Byte counts in this tag, one per offset.
ToEnd
One extent from the first offset to the end of the TIFF.
Bytes(u64)
One extent of this many bytes from the first offset.
JpegQuantization
A 64-byte old-style JPEG quantization table at each nonzero offset. Zero means no separate table; repeated offsets may share a table.
JpegHuffman
An old-style JPEG Huffman table at each nonzero offset: 16 code-count bytes followed by their sum in symbol bytes. Reading the counts uses the walk’s scan budget. Zero means no separate table.
Auto Trait Implementations§
impl Freeze for Count
impl RefUnwindSafe for Count
impl Send for Count
impl Sync for Count
impl Unpin for Count
impl UnsafeUnpin for Count
impl UnwindSafe for Count
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