pub struct AnimationFrame {
pub image: ImageResourceId,
pub delay: Duration,
}Expand description
One pre-decoded frame in an animated sequence.
Fields§
§image: ImageResourceIdImage resource providing the pixels for this frame.
delay: DurationDuration this frame is displayed before advancing.
Implementations§
Trait Implementations§
Source§impl Clone for AnimationFrame
impl Clone for AnimationFrame
Source§impl Debug for AnimationFrame
impl Debug for AnimationFrame
impl Eq for AnimationFrame
Source§impl PartialEq for AnimationFrame
impl PartialEq for AnimationFrame
impl StructuralPartialEq for AnimationFrame
Auto Trait Implementations§
impl Forget for AnimationFrame
impl Freeze for AnimationFrame
impl Move for AnimationFrame
impl RefUnwindSafe for AnimationFrame
impl Send for AnimationFrame
impl Sync for AnimationFrame
impl Unpin for AnimationFrame
impl UnsafeUnpin for AnimationFrame
impl UnwindSafe for AnimationFrame
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