Struct ncollide2d::shape::ShapeHandle[][src]

pub struct ShapeHandle<N: Real> { /* fields omitted */ }

A shared immutable handle to an abstract shape.

Methods

impl<N: Real> ShapeHandle<N>
[src]

Creates a sharable shape handle from a shape.

Methods from Deref<Target = Shape<N>>

Tests if this shape has a specific type T.

Performs the cast.

Trait Implementations

impl<N: Clone + Real> Clone for ShapeHandle<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Real> AsRef<Shape<N>> for ShapeHandle<N>
[src]

Performs the conversion.

impl<N: Real> Deref for ShapeHandle<N>
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

impl<N> Send for ShapeHandle<N>

impl<N> Sync for ShapeHandle<N>