[][src]Trait duckduckgeo::RepelTrait

pub trait RepelTrait {
    type N: Float;
    fn pos(&self) -> Vec2<Self::N>;
fn add_force(&mut self, force: Vec2<Self::N>); }

Passed to repel

Associated Types

type N: Float

Loading content...

Required methods

fn pos(&self) -> Vec2<Self::N>

fn add_force(&mut self, force: Vec2<Self::N>)

Loading content...

Implementors

Loading content...