Struct gdnative_physics::common::Node[][src]

pub struct Node { /* fields omitted */ }

core class Node inherits Object (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.

Node 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 Node::free.

Feature flag

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

Class hierarchy

Node inherits methods from:

Methods

impl Node
[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 Node::free.

Manually deallocate the 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.

Inherited from Object.

Up-cast.

Generic dynamic cast.

Trait Implementations

impl GodotObject for Node
[src]

impl QueueFree for Node
[src]

impl Free for Node
[src]

impl Clone for Node
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToVariant for Node
[src]

impl Debug for Node
[src]

Formats the value using the given formatter. Read more

impl Copy for Node
[src]

Auto Trait Implementations

impl !Send for Node

impl !Sync for Node