Struct blit::aseprite_feature::Animation [] [src]

pub struct Animation { /* fields omitted */ }

The actual animation which contains the status about which frame should be played.

Methods

impl Animation
[src]

[src]

Start an animation with a frame range, the duration of each frame is described in the aseprite metadata.

[src]

Start an animation with a range as described matching with a tag in the aseprite metadata.

[src]

Update the animation with the time and set the current frame to the correct one.

Trait Implementations

impl Debug for Animation
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Animation
[src]

impl Clone for Animation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Animation

impl Sync for Animation