Skip to main content

luaur_code_gen/methods/
ir_builder_constant_key_operator_eq.rs

1use crate::records::constant_key::ConstantKey;
2
3impl ConstantKey {
4    #[inline]
5    pub const fn ir_builder_constant_key_operator_eq(&self, key: &ConstantKey) -> bool {
6        self.kind as i32 == key.kind as i32 && self.value == key.value
7    }
8}