restrict visibility of Opcode

This commit is contained in:
bunnie 2021-04-03 00:57:30 +08:00
parent b9ff993845
commit aa04241aa4

View file

@ -47,7 +47,7 @@ impl hash32::Hash for Gid {
pub const SERVER_NAME_GFX: &str = "_Graphics_";
#[derive(Debug, num_derive::FromPrimitive, num_derive::ToPrimitive)]
pub enum Opcode {
pub(crate) enum Opcode {
/// Flush the buffer to the screen
Flush,