pub struct InterlacedPixelsData<'a> {
pub top_sub_blocks: Vec<PixelDataSubBlock<'a>>,
pub bottom_sub_blocks: Vec<PixelDataSubBlock<'a>>,
pub stuffing: &'a [u8],
}Expand description
An interlaced-pixels object data payload (coding method 0x00).
Fields§
§top_sub_blocks: Vec<PixelDataSubBlock<'a>>Top-field pixel-data sub-blocks.
bottom_sub_blocks: Vec<PixelDataSubBlock<'a>>Bottom-field pixel-data sub-blocks.
stuffing: &'a [u8]Trailing 8_stuff_bits (Table 17/19): normally 0 or 1 byte per the
spec’s own stuffing_length formula, but kept as a slice rather than
Option<u8> because the spec itself notes some legacy encoders don’t
follow that (#1108/DS-W6) — 2+ trailing bytes are preserved for a
byte-exact round-trip instead of being silently dropped.
Trait Implementations§
Source§impl<'a> Clone for InterlacedPixelsData<'a>
impl<'a> Clone for InterlacedPixelsData<'a>
Source§impl<'a> Debug for InterlacedPixelsData<'a>
impl<'a> Debug for InterlacedPixelsData<'a>
impl<'a> Eq for InterlacedPixelsData<'a>
Source§impl<'a> PartialEq for InterlacedPixelsData<'a>
impl<'a> PartialEq for InterlacedPixelsData<'a>
Source§impl<'a> Serialize for InterlacedPixelsData<'a>
Available on crate feature serde only.
impl<'a> Serialize for InterlacedPixelsData<'a>
Available on crate feature
serde only.impl<'a> StructuralPartialEq for InterlacedPixelsData<'a>
Auto Trait Implementations§
impl<'a> Forget for InterlacedPixelsData<'a>
impl<'a> Freeze for InterlacedPixelsData<'a>
impl<'a> Move for InterlacedPixelsData<'a>
impl<'a> RefUnwindSafe for InterlacedPixelsData<'a>
impl<'a> Send for InterlacedPixelsData<'a>
impl<'a> Sync for InterlacedPixelsData<'a>
impl<'a> Unpin for InterlacedPixelsData<'a>
impl<'a> UnsafeUnpin for InterlacedPixelsData<'a>
impl<'a> UnwindSafe for InterlacedPixelsData<'a>
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