Trait lay_rs::prelude::Effect

source ·
pub trait Effect: Send + Sync {
    // Required methods
    fn init(&self, layer: &Layer);
    fn start(&self, layer: &Layer);
    fn update(&self, layer: &Layer, time: f32);
    fn finish(&self, layer: &Layer);
}

Required Methods§

source

fn init(&self, layer: &Layer)

source

fn start(&self, layer: &Layer)

source

fn update(&self, layer: &Layer, time: f32)

source

fn finish(&self, layer: &Layer)

Implementors§