Struct ilda::animation::Animation [] [src]

pub struct Animation { /* fields omitted */ }

An animation is comprised of one or more frames.

Methods

impl Animation
[src]

[src]

Read an animation from an ILDA file.

let filename = "examples/files/ildatest.ild";
let animation = Animation::read_file(filename).unwrap();

assert_eq!(2, animation.frame_count());

[src]

Read an animation from raw ILDA bytes.

[src]

Get an frame iterator for the animation.

[src]

Get a point iterator for the animation, which will iterate over all points from all frames.

[src]

Return a reference to the frames.

[src]

Return the number of frames in the animation.

[src]

Get a reference to the frame at the given offset, if it exists.

Trait Implementations

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