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);
}
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);
}