Trait chipmunk_rs::BaseShape [] [src]

pub trait BaseShape: Drop {
    fn to_shape(&self) -> *const CPShape;
}

A collision Shape base trait. See Chipmunk Collision Shapes. All shape structs implement this trait.

Required Methods

Get the raw shape pointer.

Implementors