[][src]Struct duckduckgeo::bot::BotProp

pub struct BotProp {
    pub radius: Dist,
    pub collision_push: f32,
    pub collision_drag: f32,
    pub minimum_dis_sqr: f32,
    pub viscousity_coeff: f32,
}

Fields

radius: Distcollision_push: f32collision_drag: f32minimum_dis_sqr: f32viscousity_coeff: f32

Methods

impl BotProp[src]

pub fn collide(&self, bota: &mut Bot, botb: &mut Bot)[src]

pub fn collide_mouse(&self, bot: &mut Bot, mouse: &Mouse)[src]

Trait Implementations

impl Clone for BotProp[src]

impl Copy for BotProp[src]

impl Debug for BotProp[src]

Auto Trait Implementations

impl Unpin for BotProp

impl Sync for BotProp

impl Send for BotProp

impl UnwindSafe for BotProp

impl RefUnwindSafe for BotProp

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,