[−][src]Struct jpegxl_sys::JxlFrameHeader
The header of one displayed frame.
Fields
duration: u32How 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: u32SMPTE 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: u32Length of the frame name in bytes, or 0 if no name. Excludes null termination character.
is_last: c_intIndicates this is the last animation frame.
Trait Implementations
impl Clone for JxlFrameHeader[src]
pub fn clone(&self) -> JxlFrameHeader[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for JxlFrameHeader[src]
impl Debug for JxlFrameHeader[src]
Auto Trait Implementations
impl RefUnwindSafe for JxlFrameHeader[src]
impl Send for JxlFrameHeader[src]
impl Sync for JxlFrameHeader[src]
impl Unpin for JxlFrameHeader[src]
impl UnwindSafe for JxlFrameHeader[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,