luaur-bytecode 0.1.0

Luau bytecode format and builder (Rust).
Documentation
1
2
3
4
5
6
7
8
use crate::records::bc_op::BcOp;

impl BcOp {
    #[inline]
    pub fn operator_eq(&self, rhs: &BcOp) -> bool {
        self.kind == rhs.kind && self.index == rhs.index
    }
}