pub struct AnimationInfo {
pub frame_count: usize,
pub loop_count: u32,
pub has_alpha: bool,
pub timescale: u32,
}Expand description
Animation metadata from AvifParser
Fields§
§frame_count: usize§loop_count: u32§has_alpha: boolWhether animation has a separate alpha track.
timescale: u32Media timescale (ticks per second) for the color track.
Trait Implementations§
Source§impl Clone for AnimationInfo
impl Clone for AnimationInfo
Source§fn clone(&self) -> AnimationInfo
fn clone(&self) -> AnimationInfo
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 AnimationInfo
impl Debug for AnimationInfo
impl Copy for AnimationInfo
Auto Trait Implementations§
impl Freeze for AnimationInfo
impl RefUnwindSafe for AnimationInfo
impl Send for AnimationInfo
impl Sync for AnimationInfo
impl Unpin for AnimationInfo
impl UnwindSafe for AnimationInfo
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