Struct ncollide_geometry::shape::ShapeHandle [] [src]

pub struct ShapeHandle<P: Point, M> { /* fields omitted */ }

A shared immutable handle to an abstract shape.

Methods

impl<P: Point, M> ShapeHandle<P, M>
[src]

Creates a sharable shape handle from a shape.

Methods from Deref<Target = Shape<P, M>>

Tests if this shape has a specific type T.

Performs the cast.

Trait Implementations

impl<P: Clone + Point, M: Clone> Clone for ShapeHandle<P, M>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Point, M> AsRef<Shape<P, M>> for ShapeHandle<P, M>
[src]

Performs the conversion.

impl<P: Point, M> Deref for ShapeHandle<P, M>
[src]

The resulting type after dereferencing

The method called to dereference a value