Skip to main content

Effect

Trait Effect 

Source
pub trait Effect<U: ColorContainer, T: ColorPointContainer<U>> {
    // Required method
    fn get_frame(&mut self) -> Vec<T>;

    // Provided method
    fn iter(&mut self) -> EffectIterator<'_, U, T, Self>  { ... }
}

Required Methods§

Source

fn get_frame(&mut self) -> Vec<T>

Provided Methods§

Source

fn iter(&mut self) -> EffectIterator<'_, U, T, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<U: RgbContainer, T: ColorPointContainer<U>> Effect<U, T> for Shine<U, T>