[][src]Struct ncollide3d::world::CollisionObject

pub struct CollisionObject<N: Real, T> { /* fields omitted */ }

A stand-alone object that has a position and a shape.

Methods

impl<N: Real, T> CollisionObject<N, T>
[src]

Creates a new collision object.

The collision object unique handle.

The collision object's broad phase proxy unique identifier.

The collision object position.

Sets the position of the collision object.

The collision object shape.

The collision groups of the collision object.

The kind of queries this collision object is expected to .

Reference to the user-defined data associated to this object.

Mutable reference to the user-defined data associated to this object.

Auto Trait Implementations

impl<N, T> Send for CollisionObject<N, T> where
    T: Send

impl<N, T> Sync for CollisionObject<N, T> where
    T: Sync

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Mutably borrows from an owned value. Read more

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

impl<T> Same for T

Should always be Self