Struct libjxl_sys::JxlFrameHeader[][src]

#[repr(C)]
pub struct JxlFrameHeader { pub duration: u32, pub timecode: u32, pub name_length: u32, pub is_last: c_int, }

The header of one displayed frame.

Fields

duration: u32

How long to wait after rendering in ticks. The duration in seconds of a tick is given by tps_numerator and tps_denominator in JxlAnimationHeader.

timecode: u32

SMPTE timecode of the current frame in form 0xHHMMSSFF, or 0. The bits are interpreted from most-significant to least-significant as hour, minute, second, and frame. If timecode is nonzero, it is strictly larger than that of a previous frame with nonzero duration. These values are only available if have_timecodes in JxlAnimationHeader is JXL_TRUE. This value is only used if have_timecodes in JxlAnimationHeader is JXL_TRUE.

name_length: u32

Length of the frame name in bytes, or 0 if no name. Excludes null termination character.

is_last: c_int

Indicates this is the last animation frame.

Trait Implementations

impl Clone for JxlFrameHeader[src]

impl Copy for JxlFrameHeader[src]

impl Debug for JxlFrameHeader[src]

impl Default for JxlFrameHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.