pub enum LayerEdit {
Paint(Duration, PaintEdit),
AddKeyFrame(Duration),
RemoveKeyFrame(Duration),
}Expand description
Represents an edit to a layer
Variants§
Paint(Duration, PaintEdit)
Edit to a frame at a specific time
AddKeyFrame(Duration)
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.
RemoveKeyFrame(Duration)
Removes a keyframe previously added at a particular duration
Implementations§
Trait Implementations§
impl StructuralPartialEq for LayerEdit
Auto Trait Implementations§
impl Freeze for LayerEdit
impl RefUnwindSafe for LayerEdit
impl Send for LayerEdit
impl Sync for LayerEdit
impl Unpin for LayerEdit
impl UnwindSafe for LayerEdit
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