Skip to main content

luaur_ast/methods/
allocator_operator_assign.rs

1use crate::records::allocator::Allocator;
2
3#[allow(non_snake_case)]
4impl Allocator {
5    // The C++ source defines `Allocator& operator=(Allocator&&) = delete;`.
6    // In Rust, this is represented by not implementing the `Copy` or `Clone` traits,
7    // and specifically not providing a move-assignment equivalent if the type
8    // is intended to be pinned or non-assignable.
9    // Since it is explicitly deleted in C++, we do not provide a functional implementation.
10}