luaur-code-gen 0.1.0

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
use crate::records::native_module_ref::NativeModuleRef;

impl NativeModuleRef {
    pub fn native_module_ref_swap(&mut self, other: &mut NativeModuleRef) {
        let temp = self.native_module;
        self.native_module = other.native_module;
        other.native_module = temp;
    }
}