Skip to content

Vector4i doesn't implement "into Variant" #1058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GsLogiMaker opened this issue Oct 10, 2023 · 2 comments
Closed

Vector4i doesn't implement "into Variant" #1058

GsLogiMaker opened this issue Oct 10, 2023 · 2 comments
Labels

Comments

@GsLogiMaker
Copy link

Vector4i objects don't have means to convert to Variant.

Here is an example of what I'd expect to work:

let vec4i = Vector4i::new(0, 0, 0, 0);
let variant = Variant::from(vec4i);

But doing so produces the following error:

the trait bound `godot::prelude::Vector4i: EngineEnum` is not satisfied
@chitoyuu
Copy link
Contributor

Please file issues concerning the GDExtension (Godot 4) bindings in the gdext issue tracker.

@chitoyuu chitoyuu closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2023
@Bromeon
Copy link
Member

Bromeon commented Oct 10, 2023

No need to file it there; we are already implementing this as part of godot-rust/gdext#421.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants