Struct libjxl_sys::JxlAnimationHeader
source · [−]#[repr(C)]pub struct JxlAnimationHeader {
pub tps_numerator: u32,
pub tps_denominator: u32,
pub num_loops: u32,
pub have_timecodes: c_int,
}
Expand description
The codestream animation header, optionally present in the beginning of the codestream, and if it is it applies to all animation frames, unlike JxlFrameHeader which applies to an individual frame.
Fields
tps_numerator: u32
Numerator of ticks per second of a single animation frame time unit
tps_denominator: u32
Denominator of ticks per second of a single animation frame time unit
num_loops: u32
Amount of animation loops, or 0 to repeat infinitely
have_timecodes: c_int
Whether animation time codes are present at animation frames in the codestream
Trait Implementations
sourceimpl Clone for JxlAnimationHeader
impl Clone for JxlAnimationHeader
sourcefn clone(&self) -> JxlAnimationHeader
fn clone(&self) -> JxlAnimationHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JxlAnimationHeader
impl Debug for JxlAnimationHeader
sourceimpl Default for JxlAnimationHeader
impl Default for JxlAnimationHeader
sourcefn default() -> JxlAnimationHeader
fn default() -> JxlAnimationHeader
Returns the “default value” for a type. Read more
impl Copy for JxlAnimationHeader
Auto Trait Implementations
impl RefUnwindSafe for JxlAnimationHeader
impl Send for JxlAnimationHeader
impl Sync for JxlAnimationHeader
impl Unpin for JxlAnimationHeader
impl UnwindSafe for JxlAnimationHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more