Enum flo_animation::AnimationEdit [] [src]

pub enum AnimationEdit {
    Layer(u64LayerEdit),
    SetSize(f64f64),
    AddNewLayer(u64),
    RemoveLayer(u64),
}

Represents an edit to an animation object

Variants

Edit to an existing layer

Sets the canvas size for this animation

Adds a new layer and assigns it the specified ID Has no effect if a layer with that ID already exists

Removes the layer with the specified ID

Methods

impl AnimationEdit
[src]

[src]

If this edit contains an unassigned element ID, calls the specified function to supply a new element ID. If the edit already has an ID, leaves it unchanged.

Trait Implementations

impl Clone for AnimationEdit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for AnimationEdit
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for AnimationEdit
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for AnimationEdit

impl Sync for AnimationEdit