pub struct HasselbladHeader {
pub table: HuffTable,
pub predictor: u32,
pub width: u32,
pub height: u32,
pub scan_offset: usize,
}Expand description
Parsed header of a Hasselblad stream.
Fields§
§table: HuffTable§predictor: u32Predictor selector from the SOS header (1 or 11 in practice).
width: u32Frame dimensions as declared by SOF3 (informational; the container decides).
height: u32§scan_offset: usizeOffset of the scan data.
Implementations§
Trait Implementations§
Source§impl Clone for HasselbladHeader
impl Clone for HasselbladHeader
Auto Trait Implementations§
impl Forget for HasselbladHeader
impl Freeze for HasselbladHeader
impl RefUnwindSafe for HasselbladHeader
impl Send for HasselbladHeader
impl Sync for HasselbladHeader
impl Unpin for HasselbladHeader
impl UnsafeUnpin for HasselbladHeader
impl UnwindSafe for HasselbladHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more