pub struct AnimationInfo {
pub canvas: CanvasSize,
pub frame_count: u32,
pub loop_count: LoopCount,
pub background_color: BackgroundColor,
}Expand description
Semantics associated with one stored animation sequence.
Fields§
§canvas: CanvasSizeFull canvas dimensions shared by every composited frame.
frame_count: u32Number of frames in the stored animation sequence.
loop_count: LoopCountLoop policy stored in the source animation.
background_color: BackgroundColorRaw ANIM background color stored in the source animation.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnimationInfo
Source§impl Debug for AnimationInfo
impl Debug for AnimationInfo
impl Eq for AnimationInfo
Source§impl PartialEq for AnimationInfo
impl PartialEq for AnimationInfo
impl StructuralPartialEq 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 UnsafeUnpin 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