Implement core types · Issue #6 · godot-rust/gdext (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@Bromeon

Description

@Bromeon

Core structs (GodotString, Vector2, Vector3 etc.) are currently stubs that lack functionality.

To make them useful, expose (parts of) the Godot API via Rust methods.
Several options:

  1. Call Godot equivalents through FFI (slower and less idiomatic, but automatable and fast to implement)
  2. Implement them in Rust (for geometric primitives)
  3. Reuse implementation from GDNative-Rust (needs author permission for license)