Struct gdnative_visual_script::common::MainLoop[][src]

pub struct MainLoop { /* fields omitted */ }

core class MainLoop 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.

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

Feature flag

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

Class hierarchy

MainLoop inherits methods from:

Methods

impl MainLoop
[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 MainLoop::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 MainLoop
[src]

impl Free for MainLoop
[src]

impl Clone for MainLoop
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToVariant for MainLoop
[src]

impl Debug for MainLoop
[src]

Formats the value using the given formatter. Read more

impl Copy for MainLoop
[src]

Auto Trait Implementations

impl !Send for MainLoop

impl !Sync for MainLoop