pub struct JxlFrameAnimation {
pub duration: u32,
pub timecode: u32,
pub is_last: bool,
}Expand description
Per-frame animation info embedded in each frame header.
Each frame in an animated JPEG-XL codestream carries timing metadata that controls playback.
Fields§
§duration: u32Frame duration in ticks (relative to the animation tick rate).
timecode: u32Timecode (if have_timecodes is true in the animation header).
is_last: boolWhether this is the last frame in the animation.
Implementations§
Trait Implementations§
Source§impl Clone for JxlFrameAnimation
impl Clone for JxlFrameAnimation
Source§fn clone(&self) -> JxlFrameAnimation
fn clone(&self) -> JxlFrameAnimation
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 moreSource§impl Debug for JxlFrameAnimation
impl Debug for JxlFrameAnimation
Source§impl PartialEq for JxlFrameAnimation
impl PartialEq for JxlFrameAnimation
impl Eq for JxlFrameAnimation
impl StructuralPartialEq for JxlFrameAnimation
Auto Trait Implementations§
impl Freeze for JxlFrameAnimation
impl RefUnwindSafe for JxlFrameAnimation
impl Send for JxlFrameAnimation
impl Sync for JxlFrameAnimation
impl Unpin for JxlFrameAnimation
impl UnsafeUnpin for JxlFrameAnimation
impl UnwindSafe for JxlFrameAnimation
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