Made fields public

main
Joey Hines 2023-07-03 16:11:57 -06:00
parent 1ceebcce17
commit bee3df118f
No known key found for this signature in database
GPG Key ID: 995E531F7A569DDB
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ bitfield! {
#[derive(Debug, Clone)]
pub struct BonePacket<'a> {
header: BonePacketHeader,
data: &'a [u8]
pub header: BonePacketHeader,
pub data: &'a [u8]
}
impl<'a> TryFrom<&'a [u8]> for BonePacket<'a> {