[][src]Trait rask_engine::collide::Collide

pub trait Collide<Rhs: ?Sized = Self> {
    fn collides(&self, other: &Rhs) -> bool;
}

A trait for objects that can collide with other objects.

Required methods

fn collides(&self, other: &Rhs) -> bool

Loading content...

Implementations on Foreign Types

impl Collide<Vec2> for SRT[src]

impl Collide<AABox> for SRT[src]

impl Collide<RBox> for SRT[src]

impl Collide<SRT> for SRT[src]

impl<S, T: Collide<S>> Collide<S> for [T][src]

Loading content...

Implementors

impl Collide<AABox> for AABox[src]

impl Collide<AABox> for RBox[src]

impl Collide<AABox> for Vec2[src]

impl Collide<RBox> for AABox[src]

impl Collide<RBox> for RBox[src]

impl Collide<RBox> for Vec2[src]

impl Collide<Vec2> for AABox[src]

impl Collide<Vec2> for RBox[src]

impl Collide<Vec2> for Vec2[src]

impl Collide<SRT> for AABox[src]

impl Collide<SRT> for RBox[src]

impl Collide<SRT> for Vec2[src]

impl<S, T: Collide<S>> Collide<[T]> for S[src]

Loading content...