Particle

Trait Particle 

Source
pub trait Particle {
    // Required method
    fn draw<T: Target>(
        &mut self,
        target: &mut T,
        position: Vect,
        rotation: f32,
        scale: f32,
        color: &RGBA,
    );
}

Required Methods§

Source

fn draw<T: Target>( &mut self, target: &mut T, position: Vect, rotation: f32, scale: f32, color: &RGBA, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§