Made fields public

main
Joey Hines 2023-07-03 16:11:57 -06:00
parent 1ceebcce17
commit bee3df118f
Signed by: joeyahines
GPG Key ID: 995E531F7A569DDB
1 changed files with 2 additions and 2 deletions

View File

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