I think this might be the worst *Rust* code I’ve ever written (that works) #711
Renderthegreat
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
DO NOT USE THIS CODE! IT IS VERY SENSITIVE TO HOW
ValueIS STORED, AND IT COULD BREAK AT ANY TIME IN THE FUTURE.Okay, so for context, I was tinkering around trying to see how one can get the
Luainstance back from different variants ofValue, and I made this hellish abomination.This could technically be used for any variant that has
ValueRef, but I've already had my share of insanity.Beta Was this translation helpful? Give feedback.
All reactions