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;