pub struct Frame {
pub precision: u8,
pub width: u16,
pub height: u16,
pub components: Vec<Component>,
}Expand description
A parsed start-of-frame header.
Fields§
§precision: u8Sample precision in bits. Baseline is always 8.
width: u16Image width in pixels.
height: u16Image height in pixels. Zero here means the height is deferred to a
DNL marker after the first scan.
components: Vec<Component>The components, in the order the frame declares them.
Implementations§
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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