pub struct Component {
pub id: u8,
pub h: u8,
pub v: u8,
pub quant: u8,
}Expand description
One component of a frame.
Fields§
§id: u8The component identifier scans refer to it by.
h: u8Horizontal sampling factor, 1..=4.
v: u8Vertical sampling factor, 1..=4.
quant: u8Which of the four quantization table slots this component uses.
Trait Implementations§
impl Copy for Component
impl Eq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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