Struct gdnative_physics::CollisionShape[][src]

pub struct CollisionShape { /* fields omitted */ }

core class CollisionShape inherits Spatial (unsafe).

Official documentation

See the documentation of this class in the Godot engine's official documentation.

Memory management

Non reference counted objects such as the ones of this type are usually owned by the engine.

CollisionShape is an unsafe pointer, and all of its methods are unsafe.

In the cases where Rust code owns an object of this type, for example if the object was just created on the Rust side and not passed to the engine yet, ownership should be either given to the engine or the object must be manually destroyed using CollisionShape::free.

Feature flag

This type is behind the gdnative crate's physics feature flag.

Class hierarchy

CollisionShape inherits methods from:

Methods

impl CollisionShape
[src]

Constructor.

Because this type is not reference counted, the lifetime of the returned object is not automatically managed. Immediately after creation, the object is owned by the caller, and can be passed to the engine (in which case the engine will be responsible for destroying the object) or destroyed manually using CollisionShape::free.

Manually deallocate the object.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Spatial.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Node.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Inherited from Object.

Up-cast.

Up-cast.

Up-cast.

Generic dynamic cast.

Trait Implementations

impl Copy for CollisionShape
[src]

impl Clone for CollisionShape
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CollisionShape
[src]

Formats the value using the given formatter. Read more

impl GodotObject for CollisionShape
[src]

impl ToVariant for CollisionShape
[src]

impl Free for CollisionShape
[src]

impl QueueFree for CollisionShape
[src]

Auto Trait Implementations