Made fields public
parent
1ceebcce17
commit
bee3df118f
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue