Struct image::jpeg::Component
[−]
[src]
pub struct Component { pub id: u8, pub h: u8, pub v: u8, pub tq: u8, pub dc_table: u8, pub ac_table: u8, pub dc_pred: i32, }
A representation of a JPEG component
Fields
id: u8
The Component's identifier
h: u8
Horizontal sampling factor
v: u8
Vertical sampling factor
tq: u8
The quantization table selector
dc_table: u8
Index to the Huffman DC Table
ac_table: u8
Index to the AC Huffman Table
dc_pred: i32
The dc prediction of the component
Trait Implementations
impl Clone for Component
[src]
fn clone(&self) -> Component
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more