Skip to main content

luaur_bytecode/methods/
bytecode_builder_constant_key_operator_eq.rs

1use crate::records::constant_key::ConstantKey;
2
3impl ConstantKey {
4    #[inline]
5    pub(crate) fn eq(&self, other: &ConstantKey) -> bool {
6        self.r#type == other.r#type && self.value == other.value && self.extra == other.extra
7    }
8}