pub struct ScanComponent {
pub index: usize,
pub dc: u8,
pub ac: u8,
}Expand description
One component of a scan, naming the entropy tables it is coded with.
Fields§
§index: usizeIndex into Frame::components, resolved from the component id.
dc: u8DC Huffman table slot, 0..=3.
ac: u8AC Huffman table slot, 0..=3.
Trait Implementations§
Source§impl Clone for ScanComponent
impl Clone for ScanComponent
impl Copy for ScanComponent
Source§impl Debug for ScanComponent
impl Debug for ScanComponent
impl Eq for ScanComponent
Source§impl PartialEq for ScanComponent
impl PartialEq for ScanComponent
impl StructuralPartialEq for ScanComponent
Auto Trait Implementations§
impl Freeze for ScanComponent
impl RefUnwindSafe for ScanComponent
impl Send for ScanComponent
impl Sync for ScanComponent
impl Unpin for ScanComponent
impl UnsafeUnpin for ScanComponent
impl UnwindSafe for ScanComponent
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