#[repr(C)]pub struct JxlAnimationHeader {
pub tps_numerator: u32,
pub tps_denominator: u32,
pub num_loops: u32,
pub have_timecodes: JxlBool,
}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: u32Numerator of ticks per second of a single animation frame time unit
tps_denominator: u32Denominator of ticks per second of a single animation frame time unit
num_loops: u32Amount of animation loops, or 0 to repeat infinitely
have_timecodes: JxlBoolWhether animation time codes are present at animation frames in the codestream
Trait Implementations§
Source§impl Clone for JxlAnimationHeader
impl Clone for JxlAnimationHeader
Source§fn clone(&self) -> JxlAnimationHeader
fn clone(&self) -> JxlAnimationHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JxlAnimationHeader
impl RefUnwindSafe for JxlAnimationHeader
impl Send for JxlAnimationHeader
impl Sync for JxlAnimationHeader
impl Unpin for JxlAnimationHeader
impl UnwindSafe for JxlAnimationHeader
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