From cae4fe01baf731e5e48e865a96d779d6ee70ed9b Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 3 Dec 2019 21:40:59 -0800 Subject: [PATCH] make psopacketdata trait public --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5c9f0e5..29e8953 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,7 @@ pub enum PacketParseError { ReadError, } -trait PSOPacketData { +pub trait PSOPacketData { //fn size(&self) -> usize; fn from_bytes(cursor: &mut R) -> Result where Self: Sized; fn as_bytes(&self) -> Vec;