luaur-common 0.1.3

Foundational data structures and flags for the luaur Luau-in-Rust toolchain.
Documentation
1
2
3
4
5
6
7
use crate::records::f_value::FValue;

impl<T: Copy> FValue<T> {
    pub fn get_global(&self) -> T {
        unsafe { *self.value.get() }
    }
}