Enum flo_animation::LayerEdit [] [src]

pub enum LayerEdit {
    Paint(DurationPaintEdit),
    AddKeyFrame(Duration),
    RemoveKeyFrame(Duration),
}

Represents an edit to a layer

Variants

Edit to a frame at a specific time

Adds a keyframe at a particular point in time

Edits don't have to correspond to a keyframe - instead, keyframes indicate where the layer is cleared.

Removes a keyframe previously added at a particular duration

Methods

impl LayerEdit
[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 LayerEdit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for LayerEdit
[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 LayerEdit
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for LayerEdit

impl Sync for LayerEdit