Skip to main content

luaur_code_gen/methods/
native_module_ref_swap.rs

1use crate::records::native_module_ref::NativeModuleRef;
2
3impl NativeModuleRef {
4    pub fn native_module_ref_swap(&mut self, other: &mut NativeModuleRef) {
5        let temp = self.native_module;
6        self.native_module = other.native_module;
7        other.native_module = temp;
8    }
9}