luaur-bytecode 0.1.3

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

impl BcOp {
    pub fn bc_op_bc_op_kind_u32(kind: BcOpKind, index: u32) -> Self {
        Self { kind, index }
    }
}