luaur-vm 0.1.3

The Luau register virtual machine and standard library (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::records::scoped_set_gc_threshold::ScopedSetGcThreshold;

impl ScopedSetGcThreshold {
    /// C++ `ScopedSetGCThreshold& operator=(const ScopedSetGCThreshold&) = delete;`
    ///
    /// In Rust, we represent a deleted copy assignment operator by not implementing `Clone` or `Copy`
    /// for the type, and by not providing a public assignment method.
    ///
    /// This item is a stub to satisfy the translation graph for the deleted C++ operator.
    #[allow(dead_code)]
    fn operator_assign(&mut self, _other: &ScopedSetGcThreshold) {
        panic!("ScopedSetGCThreshold copy assignment operator is deleted");
    }
}